Expand my Community achievements bar.

Applications for the Community Advisor Program Class of 2025 are NOW OPEN – Apply Today!
SOLVED

Automatically start wkf nr 2 X days after wkf nr 1

Avatar

Level 4

Hello, I would like to know if there is a way to trigger a wkf based on another wkf with for example one week delay.

WKF1 starts at 19th december and when it is done the WKF2 starts automatically the 26th december.

I've tried using javascript and signal activity but the JS node keeps running until the 7 days passed and I guess it is not good and can create performance issues if scaled to several campaigns.
Another way is to create some logic with scheduler node but I was wondering if it is possible to achive this with signals.

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @A_B_SE 

 

Easiest way is to add a wait of 7 days after the signal in the 2nd workflow assuming the first workflow is not recurring.

 

Order will be: First workflow start, then trigger the 2nd workflow which start, observe a wait of X days and resume after the X days.

 

Thanks,

David



David Kangni

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi @A_B_SE 

 

Easiest way is to add a wait of 7 days after the signal in the 2nd workflow assuming the first workflow is not recurring.

 

Order will be: First workflow start, then trigger the 2nd workflow which start, observe a wait of X days and resume after the X days.

 

Thanks,

David



David Kangni

Avatar

Level 4

Hello @DavidKangni and thanks with your answer.

Does this affect performance in AC? I have been told to minimize the number of paused wkf since they are draining performance of the environment and I will need to build quite a lot of campaigns with this setup.

I usually inactivate the "keep the interim result" option after testing but does paused wkfs affect heavily the system in any way?

 

Thanks in advance

Avatar

Administrator

Hi @DavidKangni,

Can you please help @A_B_SE further with their query?

Thanks!



Sukrity Wadhwa

Avatar

Community Advisor

it should affect your performance if your scheduler is not recurring (not restarting multiple time during the 7 days)

 



David Kangni