With the Define Variable operator the workflows gained the ability to do string and date operations, but did not get the ability to do mathematical operations such as Add, Subtract, Multiple, Divide, Modulus.
Why is this necessary? There is currently an operator for Comparing Numbers, but beyond that, you can not modify them without using an external service. Mathematical operations come into play due to all the numeric limitations within SailPoint that the user may want to work with:
- The Loop Operator has a limit of 100 items
- Most APIs have a limit of 250 items returned
- Certifications have values for Completed decisions/identities and total decisions/identities, but not Remaining/unfinished decisions/identities.
There could also be times where you need to do math before sending a Request to an external service as well.
I created an Idea for this as well, so please Vote for it if you’d find it useful: https://ideas.sailpoint.com/ideas/GOV-I-3869