コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards
解決済み

external signal activity

Avatar

Level 3

Hi All , 

Willing to learn in depth working and functionality  of "External Signal" Activity , i have gone through official document link

"https://experienceleague.adobe.com/en/docs/campaign-classic/using/automating-with-workflows/flow-con..."

Can someone please provide a link or reference where i can learn more.

Thanks in advance.

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Hi @at7140 ,

Lets say you want to execute the second workflow only after running the first workflow, you can use postEvent script and external signal activity to trigger the second workflow.

Example,

There are 2 workflows, where Workflow-1 is a master workflow used to update records in database. Once the update is done, Workflow-2 needs to get started and send communication.

Workflow-1:

ParthaSarathy_0-1735905102117.png

Workflow-2:

ParthaSarathy_1-1735905212381.png

In this case, In workflow-1 JavaScript code activity, call the second workflow using below postEvent script,

 

xtk.workflow.PostEvent("workflow_internal_name", "internal_name_of_signal_activity", "", "", false);

 

Note: Workflow-2 should be in started state.

Now when the Workflow-1 runs and once the update is done, the postEvent JavaScript will trigger the signal activity in Workflow-2 and the delivery will get triggered.

And if a variable need to be transferred from Workflow-1 to workflow-2, configure the script as below,

 

xtk.workflow.PostEvent("workflow_internal_name", "internal_name_of_signal_activity", "", <variables mobile={vars.mobile} email={vars.email}  />, false);

To explore more on postEvent, Refer this document 

 

元の投稿で解決策を見る

3 返信

Avatar

正解者
Community Advisor

Hi @at7140 ,

Lets say you want to execute the second workflow only after running the first workflow, you can use postEvent script and external signal activity to trigger the second workflow.

Example,

There are 2 workflows, where Workflow-1 is a master workflow used to update records in database. Once the update is done, Workflow-2 needs to get started and send communication.

Workflow-1:

ParthaSarathy_0-1735905102117.png

Workflow-2:

ParthaSarathy_1-1735905212381.png

In this case, In workflow-1 JavaScript code activity, call the second workflow using below postEvent script,

 

xtk.workflow.PostEvent("workflow_internal_name", "internal_name_of_signal_activity", "", "", false);

 

Note: Workflow-2 should be in started state.

Now when the Workflow-1 runs and once the update is done, the postEvent JavaScript will trigger the signal activity in Workflow-2 and the delivery will get triggered.

And if a variable need to be transferred from Workflow-1 to workflow-2, configure the script as below,

 

xtk.workflow.PostEvent("workflow_internal_name", "internal_name_of_signal_activity", "", <variables mobile={vars.mobile} email={vars.email}  />, false);

To explore more on postEvent, Refer this document 

 

Avatar

Level 3

Hi @ParthaSarathy ,

Thanks for explanation , Do we have any limitation/s or best practice of this activity i should take care while using , adding this will give me more brief idea.

Thanks

Avatar

Community Advisor

@at7140 , Only thing is you need to make sure that the target workflow where you use external signal activity should be in started state.