need to set the value of action output to the catalog task new variable in flow designer

Harish Tamada
Tera Contributor

Hi,

This query is related to the flow designer.

I created an action in the flow designer wrote a value and stored that value in the output value. So the result value of this function must be passed to the list task, whose new variable must set the value of the output of the function. Can anyone help me with this?

 

I tried to create the action after the catalog task to update the variable and it's working, because the in catalog task there is a check for the wait condition check box is not checked, and then the flow is not moving forward. if it is checked the value is not updating.

if I tried to add the action for setting the value of a new variable before the catalog task, it's not updating.

 
I had the output of action is volume, it needed to be updated in the catalog task new variable in task is volume.
I had written this script while creating the task beside the wait conditions shown below
HarishTamada_0-1706708868741.png

 

 

var task = GlideRecord("sc_task");
  task.addQuery("sys_id", current.sys_id);
  task.query();
  if(task.next()){
    task.variables.volume = fd_data._16__set_volume_name.volume;
    task.update();
  }
 my question was like i created the action to fetch the values from the tables and added into the action output.
this particular output is the set value of the catalog task which we are passing new variables to the task.

 

2 REPLIES 2

OlaN
Giga Sage
Giga Sage

Hi,

Could you please clarify your question? And perhaps add some images that explain what you are trying to do.

Hi olan,
I had the output of action is volume, it needed to be updated in the catalog task new variable in task is volume.
I had written this script while creating the task beside the wait conditions shown below
HarishTamada_0-1706705985646.png

 

var task = GlideRecord("sc_task");
  task.addQuery("sys_id", current.sys_id);
  task.query();
  if(task.next()){
    task.variables.volume = fd_data._16__set_volume_name.volume;
    task.update();
  }
 my question was like i created the action to fetch the values from the tables and added into the action output.
this particular output is the set value of the catalog task which we are passing new variables to the task.