CamiCat
1
Hello friends,
@AshwinS2 , @arivu96, @Rammohan91, @balupad14, @Florent_Salendres, @vvaidya, @Palaniyappan, @loginerror, @MAHESH1, @Manjuts90
I need to find if 2 variables which are set in the workflow are contained in one row of this datatable.
**Partita iva |
Società** |
**IT00488410010 |
ENERXENIA** |
**IT00488410010 |
ACSM-AGAM** |
**IT00488410010 |
ACSM-AGAM RETI** |
**IT05779711000 |
ENERXENIA** |
**IT05779711000 |
ACSM-AGAM** |
**IT00042330142 |
ENERXENIA** |
**IT12883450152 |
ENERXENIA** |
**IT04152790962 |
ENERXENIA** |
So for example, if variable Partita_IVA=IT05779711000 and variable Società=ENERXENIA I need to perform some actions.
How to perform this check?
Can you please share a xaml?
Thank you,
Cami
mmcruzRPA
(Marcelo Cruz)
2
Hello!
Condition inside for each row-> row(0).toString = “IT05779711000” and row(1).toString = “ENERXENIA”
dt.select(“[Partita iva]='”+Partita_Variable+“’ [Società]='”+Società_variable+“'”).Count>0
vilardelld
(Daniel Ramos)
4
Hello,
What I would do if an if inside a for each row
For Each ROw
If Partita IVA = X and Societa = X
Do
Else If Partita IVA = Y and Societa = X
DO
Else If Partita IVA = Y and SOcieta = Y
Do
…
and such.
This should work 
Kind regards,
Daniel
CamiCat
5
Thank you so much @kadiravan_kalidoss.
I’ll try and let you know as soon as possible.
Thank you so much,
Cami 