External signal problem | Community
Skip to main content
Level 4
May 7, 2021
Solved

External signal problem

  • May 7, 2021
  • 1 reply
  • 2848 views

Hi Team,

 

In one of the delivery template we have a post processing workflow which triggers with external signal when the delivery is ran in any workflow.

When the same delivery template is used and ran at the same time from different workflows the external signal in the post processing is only taking the first workflow data(this workflow which might have ran 2 seconds earlier than the 2nd workflow) in to it..

Is there anyway we can control this or anyway in which we can make the post processing workflow take all the deliveries data which comes simultaneously.

 

Thanks,

Greeshma 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Greeshma_Sampath1

Hi @adithyacs86  @davidkangni ,

 

We changed the filer condition in file collector from instancs,vars.<filename> to vars.<filename> then the file collector started fetching all files coming to it at the same time.

Thank you all for the help. 

 

Thanks,

Greeshma

1 reply

DavidKangni
Community Advisor
Community Advisor
May 7, 2021

You can use a js to check if the workflow is running and add a wait to retry

 

Thanks,

David

David Kangni
Level 4
May 7, 2021

Hi @davidkangni,

 

By checking deeply to the issue, we have a JavaScript activity which fetches the deliveries filename and pass to the file collector. This file collector takes the file which is stored in the server and passes to the next activity. As I checked the logs, the JavaScript activity is sending all the delivery details from different deliveries, but the file collector is taking only one delivery file.

 

 

 

Images of logs

Javascript actiivty

05/07/2021 3:48:22 AM Sending file: D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 1_2021-05-07_03-47-26.csv
05/07/2021 3:48:22 AM -----
05/07/2021 3:48:22 AM Sending file: D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 2_2021-05-07_03-47-26.csv
05/07/2021 3:48:22 AM -----

 

File collector actiivty

05/07/2021 3:48:23 AM 05-07_03-47-26_20210507074823a.csv'
05/07/2021 3:48:23 AM Getting 'D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 1_2021-05-07_03-47-26.csv', saved as 'D:\Adobe\Adobe Campaign Classic v7\var\stage\workflow\wf-arcExportTRFile\directorywatcher2\TR_CHANNEL_TR Channel test 1_2021-
05/07/2021 3:48:22 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 1_2021-05-07_03-47-26.csv
05/07/2021 3:48:22 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 1_2021-05-07_03-47-26.csv
05/07/2021 3:48:22 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 2_2021-05-07_03-47-26.csv
05/07/2021 3:48:22 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_TR Channel test 2_2021-05-07_03-47-26.csv

 

Could you please tell me like how i can pass one file at a time to file collector or a way in which file collector takes one file,completes the process and takes the next file.

 

thanks,

Greeshma