Call flow based on queue item status,

hello all,
im tryin go assign queue items Status using set_Transaction_progress.

i can call in_TransactionItem.progress.ToString();
i want to call flow decision based on the status but very unsure how to do it on string base
here im trying to test on simple string but cant trigger the case i want

Regards/Hazem

set the type Argument to String
grafik

then you can define the different braches, representing the different cases

Keep in mind:

using the Set Transaction Progress activity will not refresh the existing variable representing the QueueItem.

in other words:
when using myQueueItemVar within a Set Transaction Progress activity
Afterwards myQueueItemVar.Progress still will be null, as the Variable is not refreshed

1 Like

Thanks,
but i dont have any api. so i have to use QueueItems with the same ref?
and if i do that during the process is this will over write the in_transaction item!

/Hazem

i still dont get the right case i want

here i have just a number as a string if the sting is 2 it should be case 2 right?

or its not related to the case name, if not i cant see in the debug where its evaluate the case value!

Hazem

not sure, what was meant by this

As mentioned: the local variable will not be refreshed

we do have the Orchestrator REST API and can use the ID Property from local QueueItem Variable for doing a Round-Trip Call e.g. refreshing the variable

But lets come back to the origin request:

we showed you the setting of TypeArgument to switch on string base

Hi @Hazem_Saleh

Check input type in Flow Switch activity and give to it the text input in expression filter. Make sure to respect case sensitive when checking the branch

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.