Avatar

Correct answer by
Community Advisor

Hi @LiviaD1 ,

 

You can try using below two approaches:

1) Schedule a workflow in ACC to check for file at SFTP location. If file is not present, then set a wait time loop of 10 minutes and recheck file is present or not. After wait, use a JS activity to count the number of execution, let's say for 2hours continuously in loop. If file is present, then workflow will execute successfully. If file is not present, then workflow will send an alert to operators informing about failure.

 

2) Another approach which can be used is via SOAP call. Send a SOAP request to ACC from ACS. Write a Javascript code to handle the SOAP request. Use PostEvent call in Javascript to trigger the workflow in ACC.

 xtk.workflow.PostEvent(workflowName, "signal", "", variableName&Value, false);

 

Thanks,

Jyoti

View solution in original post