Calculate ROI Dynamically

Hi,

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 5in the transition between this step and the Success Step.

Regards

  • Hello Adel,

                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.