Hello,
I’m trying to get data from an excel file to fill in a word document, but I get this error that I can’t get past, what can I do?
Hi @Maria_Afonso
May be the below syntax will solve your error.
item.ToString.Contains(strCod)
Hope it helps!!
Hello,
now this has come to me:
“Robot_POCH_Excel.xaml: The activity delegate with Handler ‘Sequence’ cannot be referenced by activity ‘For Each’ because the latter is not in the implementation of activity ‘DynamicActivity’. An activity delegate can only be referenced by the implementation of an activity which specifies that activity delegate as a child or import. The activity delegate with Handler ‘Sequence’ is declared by activity ‘For Each’.”
“Robot_POCH_Excel.xaml: The Handler for an ActivityDelegate, ActivityAction, or ActivityFunc must not be a reference to an activity already existing in the tree. The Handler activity ‘Sequence’ of a delegate parented by ‘For Each’ is already referenced by ‘For Each’.”
Try to mention something like this
This ensures that empty space also gets removed
item.ToString.Trim.Contains(strCod.ToString.Trim)
Cheers @Maria_Afonso
Fine
This error is indicating that the ‘For Each’ activity is already using the ‘Sequence’ activity as its handler, and you are trying to reference ‘Sequence’ as a handler again, which is not allowed.
To resolve these errors, you need to check your workflow structure, especially around the ‘For Each’ activity, and ensure that you’re not referencing or nesting activity delegates improperly. You might need to reorganize your activities to align with the correct use of activity delegates. Review the structure of your ‘For Each’ and ‘Sequence’ activities to ensure they are being used as expected
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.