Sailpoint IDN Workflows - Requirement to assign/allocate different values in the true/false block of a comparison operator and email that value at the end

Sailpoint IDN Workflows - Can we re-use the variable we define in one step in one of the following steps. We understand we can refer to that variable and append to that variable, but that that has to be defined as a new variable. The requirement is if we have to assign/allocate different values in the true/false block of a comparison operator and email/use that value at the end. Here the issue is that since we have to define different variables in true/false block and which block will get executed cannot be predicted , we really don’t know which variable to use for emailing/re-using in the following steps.

You can use the Define variable Step and change its value.

Even Add or re-calculate it.

Best

Thanks for the update. Could you please help with two clarifications
1.How do we add or recalculate on Define Variable as all I see is string operations and date operations. I don’t see a numeric operation.
2.When you use a previously defined “Define Variable” in a following step, I can assign it to only a new “Define Variable”. How can I assign to the same variable?

Hi @hithaeb,

For first case please have a look on below snapshot. Is it about some specific operation you are looking.

For the second use-case what operation you are trying to perform, Is it that you want to re-utilize same variable for new value assignment?

Thanks

Thanks for the update.

Regarding first query, I am no looking for a numeric comparison, but a numeric addition or subtraction. Example - Add 1 to a previous value like a new employee number to be generated if I am using workflow for user creation.

Second query - I am looking for a scenario like one variable defined before compare and I need to assign different value to the same variable in the true and false block of compare so that I can use the variable directly after the comparison irrespective of which loop it entered. As far as I understand, we need to define new variable in the true and false block of compare and not reassign to the same variable.

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