SAP Build Process Automation’s Little Technique – Variable Definitions
source link: https://blogs.sap.com/2023/06/30/sap-build-process-automations-little-technique-variable-definitions/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
SAP Build Process Automation’s Little Technique – Variable Definitions
How to define variables?
And this is how you can refer to the values of different components (components that exist before the component) with a click selection.
It is convenient to be able to select the value you want to display or use with a click.
However, this convenience can sometimes turn into difficulty.
For example, you want to set the value “Hello” to the read-only text field named “Comment” on this approval form.
I wish there was a Set Variables component like in Build Apps, but there is not in Build Process Automation. I don’t want to place a meaningless “Hello” field in the form before this one in the flow, so I need to do something about it.
What should we do? Here are two ways to do it.
1.Use Automation
If you have already set up a Desktop Agent in Unattended mode, you can use this method.
Personally, I think it is better to set up at least one Desktop Agent in Unattended mode, as it can be used in a variety of situations and can be more like a programming logic compared to a workflow in Automation. For example, type conversion and string substitution are also possible within Automation, so please consider installing a Desktop Agent not for RPA, but for this kind of generic processing and processing within a workflow.
2.Use Decision
Decision is used to determine the next approver in samples and so on. If you think about it, this function outputs the ID of the next approver and so on as variables. In other words, it can be used as a variable definition.
For example, you can assign Process Started By (ID of the person who executed this flow) as an input and then use …
Although Decision is primarily used to determine the next approver in a business rule-like manner, it can also be used in this way.
I hope you will use this feature effectively during flow development.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK