Automatically start wkf nr 2 X days after wkf nr 1 | Community
Skip to main content
Level 4
December 19, 2024
Solved

Automatically start wkf nr 2 X days after wkf nr 1

  • December 19, 2024
  • 1 reply
  • 834 views

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

Best answer by DavidKangni

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

1 reply

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
December 19, 2024

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
A_B_SEAuthor
Level 4
December 27, 2024

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

Sukrity_Wadhwa
Community Manager
Community Manager
January 8, 2025

Hi @davidkangni,

Can you please help @a_b_se further with their query?

Thanks!

Sukrity Wadhwa