Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Bulk update into workflow

Ramaswami
Level 4
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
Jonathon_wodnicki
Correct answer by
Community Advisor
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
Jonathon_wodnicki
Correct answer by
Community Advisor
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