Calculate ROI Dynamically
I have a flow that uses a powershell script (operation), the script proccesses n elements.
The ROI of each element is 5.
My question is how to get the value of the ROI which is 5n in the transition between this step and the Success Step.
My understanding is that you can manually set a ROI value to a transition step. Nevertheless, the transition step as it is, can't perform calculations.
My guessing is that you could program a scriptlet in the last step of the flow (the one hooked up to the Success) and calculate the ROI within the scriptlet, then you show the outcome as a return result.
I hope this helps.
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.