Hi,
I am taking the service name from drop down field from interface and mapping it to following variable.
After that I am uploading excel as below:
Following is the rule I am using in script task and saving its value into Boolean type variable 'flag'.
My requirement is if pv!Service_name=pv!cdt.srvc_nm then it should go to XOR path otherwise send email path.
if I change the value in excel rows the flow is not going in appropriate way.
Thanks,
Kiran
Discussion posts and replies are publicly visible
(clicks nonexistent "like" button)
Here I am giving below condition,
if all pv!cdt match with dropdown value it should go to XOR,
if one value from pv!cdt is not matching with pv!cdt then it should go to Copy of send email.
How this can be achieved?
Unknown said:if all pv!cdt match with dropdown value it should go to XOR,
Well as I said below, contains() will match any entries.
For checking whether all entries match a given value, you can use a!forEach for an easy-to-understand alternate method:
and( a!forEach( pv!cdt.srvc_nm, fv!item = pv!Service_name ) )
In the above code snippet, the internal a!forEach() generates an array of boolean values i.e. {true(), false(), true()} etc; if all entries in the array match, these will all be true(), and thus the outer and() will also return true.
Mike ,Thanks for help.