Splitting up a large workflow using External Signal

Avatar

Avatar

alistairk161838

Avatar

alistairk161838

alistairk161838

16-03-2017

Hi,

I have a large complicated workflow which runs at the end of each campaign which summarises findings and then emails this to stakeholders.

Ideally I want to split this into two parts, the simply delivery part and the complicated summarisation part. The simple part will allow the operators to select their data and delivery templates and send the email. The complicated part does a ton of analysis work and delivers some files. The operators should never touch any of the complicated part.

I was thinking to put a signal at the end of the simple part which after X amount of time will trigger the complicated part, passing through the required variables to enable it to determine the campaign it needs to analyse and deliver the automated reports for.

How best to do this? I looked at signals and I think this is the best way, however I'm unsure of exactly how to trigger a signal from a workflow. 

 

Appreciate your input!

View Entire Topic

Avatar

Avatar

LeonieSwart

Avatar

LeonieSwart

LeonieSwart

10-10-2018

Hi Vipul

I have an extra question about the external signal activity.

Does it pass along the temp schema data as well?

For example:

     In the main workflow:

          1) start activity

          2) query to select all recipients with language EN

          3) js activity to initiate call for the external signal

     In the flow with external signal

          1) the external signal is triggered by the main workflow

          2) add a split activity to divide target from main workflow into 2 groups

For me this isn't working as it seems that it doesn't know the temp schema from the main workflow.

Is there a way around?

I also tried this using a sub-workflow with an input transition of nms:recipients but the output of the sub-workflow isn't returning the schema as expected and is throwing errors. So I'm not sure if that is a better alternative.

Thank you for the information!

Kind regards

Leonie