How should I make a decision kind of work for bot to first check the responsibility column

I would create queue with transaction item, where i would fill data, like: InvoiceNumber and ResponsibilityType.
Then in the main you can create retrieve transaction item, and depending on what kind of Resposibility you have, robot is using proper folder.

In that case if process is similar for all kind of resposibilities, you odn’t have to create any kind of decision, you just replace “receipt directory” by value from transaction item.

I’m not sure if this kind of answer you were waiting for, there is a lack of process details.

Good morning George,

Would the Switch activity help accomplish your goal?

You would be able to check the Responsibility type and proceed accordingly by using something similar to "in_TransactionType(“Responsibility”).ToString = “OptionA”.

1 Like