Flow Designer: Change Variable of Flow Data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2024 05:50 AM
Hello,
I created a Subflow in which i create flow data. For that i created a new data definition for it and added a variable:
Is it possible to change the value of the output kundeninfo within the subflow?
My goal is to show this value in a playbook before it gets shown, but im not able to change the default value:
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2024 08:46 PM
@lukasreiner Yes, it is possible to change the value of a data pill like kundeninfo within your subflow. To achieve this, you need to ensure that the variable is set as an output variable of the subflow, and then you can modify its value within the subflow script step.
Hope this will help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 05:05 AM
Hello Abhay, thaks for your help. Could you explain me how exactly i have to do this?
I cant find a action in my subflow where i can type a script.
Her is my complete subflow. Maybe you can shere with me, where exactly i have to do this.
As for now i can edit the text within the playbook and the "new" text inside Kundeninfo will get passed as output. But i wanto to show a different text within certain conditions.
For example when a case has a special assignment group, then the shown text in kundeninfo is not "Standard Data Definition", but "Assignment group choosed".
I hope i could explain my problem a bit better.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2024 10:40 AM
Hi @Abhay Kumar1 ,
thanks for your reply.
Could you provide me some further explanations about this?
Here is my complete subflow:
I can get access to the output value of u_kundeninfo on step 4 with assign subflow outputs.
But my problem is, that my created data definition called update_worknote has an default value to u_kundeninfo called "Standard Data Definition".
When i activate the playbook i get the Textfield with this default value:
I want to change the displayed text on certain conditions. So for example, when the case or task has an special assignment group then the text is not "Standard Data Definition". The text is then for example "Assignment Group xy choosed" and then the user can edit this text on his own.
Therfore i want to access the output variable of the created flow data and change that value.
Can you explain me, how exactly i can do that?
many thanks.