Expand my Community achievements bar.

SOLVED

Bulk update into workflow

Avatar

Level 4

Hi Team, 

 

i have workflow like the below : 

 

Ramaswami_0-1596219361656.png

 

i have to add a javascript node after the query activity and change the label of list according to the return function : 

javascript node has the below : 

 

function xx()

{

...

return string;

}

 

list update node : 

label : <%=xx()%>

 

Ramaswami_1-1596219451606.png

 

Ramaswami_2-1596219619983.png

 

 

there are some 100's of workflow like this. Can i update the labels in list as well as add javascript in workflow in bulk? 

currently i am opening each workflow and updating these two things. 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Yes, workflow's data clob can be altered with js and/or sql.

A much safer and easier approach is to export the workflows to xml, open them in vs code or notepad++, find/replace there, then re-import.

 

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

 

Yes, workflow's data clob can be altered with js and/or sql.

A much safer and easier approach is to export the workflows to xml, open them in vs code or notepad++, find/replace there, then re-import.

 

Thanks,

-Jon