Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ParthaSarathy
ParthaSarathyAccepted solution
Community Advisor
Mar 22, 2023 1:02 PM UTC

Hi @campaignerforlife ,

You can replace wait activity with JavaScript Code Activity, and insert the below script

instance.vars.WaitTime = 5000; task.wait(instance.vars.WaitTime);

 

Or By using Wait Activity > Advanced tab's Initialization script > add the same code, and Define duration as 0s in Wait tab.

 

 

 

 

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups

2 replies

Manoj_Kumar
Community Advisor
Community Advisor
Mar 22, 2023 12:58 PM UTC

Hello @campaignerforlife 

 

If you have a single wait activity then you can use this code in a javascript activity before the wait activity.

instance.activities.wait[0].delay=TIME_IN_SECONDS;

 

Translate
Manoj  | https://themartech.pro
ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
Mar 22, 2023 1:02 PM UTC

Hi @campaignerforlife ,

You can replace wait activity with JavaScript Code Activity, and insert the below script

instance.vars.WaitTime = 5000; task.wait(instance.vars.WaitTime);

 

Or By using Wait Activity > Advanced tab's Initialization script > add the same code, and Define duration as 0s in Wait tab.

 

 

 

 

Translate
~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups