Flow Designer: Change Variable of Flow Data

lukasreiner
Tera Contributor

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:

 
lukasreiner_3-1731160085200.pnglukasreiner_4-1731160110747.png

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:

 
lukasreiner_5-1731160141206.png

 

Thanks in advance.

3 REPLIES 3

Abhay Kumar1
Giga Sage

@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.

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.

Subflow.png

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

 

Hi @Abhay Kumar1 ,

thanks for your reply.

Could you provide me some further explanations about this?

 

Here is my complete subflow:

Subflow.png

 

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:

lukasreiner_0-1731263845992.png

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.