Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

External signal problem

Avatar

Avatar
Give Back
Level 1
Greeshma_Sampath1
Level 1

Likes

0 likes

Total Posts

40 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
Greeshma_Sampath1
Level 1

Likes

0 likes

Total Posts

40 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
Greeshma_Sampath1
Level 1

07-05-2021

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 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

256 likes

Total Posts

372 posts

Correct Reply

151 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

256 likes

Total Posts

372 posts

Correct Reply

151 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile
DavidKangni
MVP

07-05-2021

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

 

DavidKangni_0-1620398392942.png

Thanks,

David

Greeshma_Sampath1

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.

 

Greeshma_Sampath1_2-1620399679869.png

 

 

Images of logs

Javascript actiivty

Greeshma_Sampath1_0-1620399539740.png

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

Greeshma_Sampath1_1-1620399573905.png

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

DavidKangni
in file collector you have a box called stop as soon as file is processed. check it and add a jump at the end of your workflow to return to the file collector. You need also to check the process missing file checkbox
Greeshma_Sampath1

Hi @DavidKangni,

 

I tried the way you suggested, but then also its not taking the other file. Its taking only one file among the 2 files which came simultaneously to the file collector.
Kindly find below the logs of the file collector.

 

05/09/2021 9:02:45 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\workflow\wf-DEVWKF6452\directorywatcher2\TR_CHANNEL_2 Copy of Copy of TR Channel GS 7th apr 2021_2021-05-09_09-01-18_20210509130215a.csv
05/09/2021 9:02:45 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\workflow\wf-DEVWKF6452\directorywatcher2\TR_CHANNEL_2 Copy of Copy of TR Channel GS 7th apr 2021_2021-05-09_09-01-18_20210509130215a.csv
05/09/2021 9:02:15 AM Copy of Copy of TR Channel GS 7th apr 2021_2021-05-09_09-01-18_20210509130215a.csv'
05/09/2021 9:02:15 AM Getting 'D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_2 Copy of Copy of TR Channel GS 7th apr 2021_2021-05-09_09-01-18.csv', saved as 'D:\Adobe\Adobe Campaign Classic v7\var\stage\workflow\wf-DEVWKF6452\directorywatcher2\TR_CHANNEL_2
05/09/2021 9:02:15 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_2 Copy of Copy of TR Channel GS 7th apr 2021_2021-05-09_09-01-18.csv
05/09/2021 9:02:15 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_2 Copy of Copy of TR Channel GS 7th apr 2021_2021-05-09_09-01-18.csv
05/09/2021 9:02:15 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_1 Copy of TR Channel GS 7th apr 2021 _2021-05-09_09-01-18.csv
05/09/2021 9:02:15 AM D:\Adobe\Adobe Campaign Classic v7\var\stage\Phase3\TR\TR_CHANNEL_1 Copy of TR Channel GS 7th apr 2021 _2021-05-09_09-01-18.csv

 

Is there any other method or way in which we can get the other files also to be captured?

 

Thanks,
Greeshma

adithyacs86
Hi Greeshma, What is the filtering condition given... If it is based on the vars.<deliveryName> then change the variable to include * after the common parameters. Hope that helps.
Greeshma_Sampath1

Hi @adithyacs86,

 

Below shown is the filter which is given in the file collector.

Greeshma_Sampath1_0-1620883535497.png

 

could you please tell me how to change it here?

 

Thanks,

Greeshma

adithyacs86
So this vars.FinalFile is a variable defined in your js which is before the file collector activity and this I presume is a hard coded value or coming in from external signal, so make this variable to include * in the js code
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