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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to Disable all Campaign Workflows at the Same Time

Avatar

Avatar
Level 1
bd_chicago
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
bd_chicago
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
bd_chicago
Level 1

22-06-2020

Have a client who has hundreds of campaigns and they want to be able to Disable ALL of them easily, and then only turn on a handful during particular weather events.  Can anyone help.  We thought maybe we could reset a value in a table using a Stored Proc - want to make sure it is the right table (first of all).  I have heard discussions about writing a custom Technical Workflow to do this but I never knew how that ended.  

Campaign

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Anita_p
MVP

Likes

116 likes

Total Posts

118 posts

Correct Reply

28 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Validate 1
MVP
Anita_p
MVP

Likes

116 likes

Total Posts

118 posts

Correct Reply

28 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Anita_p
MVP

22-06-2020

Hi @bd_chicago :

 

You can create a function using JS to fetch the workflow ids of all the workflows in running(started/restarted) state for your specific campaign/program folder holding all the client campaigns and use these workflow ids to stop them at one go using xtk.workflow.Stop() .

 

Hope this helps.

 

Thanks.

Answers (0)