Run Interface Events Sequentially
In most cases, events run sequentially according to the event’s priority, with the lowest priority executing first. However, a user may need to force sequential events if the preceding event submitted a background job, as performed in Collect. The validation would have to determine if the background job had finished before the next event would start.
To run Interface events sequentially in Automate:
-
Create a validation view in the Data Source ID used for the interface.
-
Select Interfaces in the Navigation pane.
-
Click the Events icon for the desired interface.
-
Click the Validations icon for the event that needs to wait until the previous event is done.
-
Click Add.
View the field description for the Interface Event (Validations) page
-
Enter a value in the Priority field.
-
Select View from the VALIDATION TYPE list box.
-
Select Validation from the VALIDATION PURPOSE list box. This means that if the view returns a value, then the validation has failed.
-
Select Pre from the VALIDATION WHEN list box to indicate the validation runs before the event runs.
-
Select Retry from the DISPOSITION list box to indicate that if the validation fails, the interface waits and retries running the validation.
-
Click Save; the Vertical View displays.
View the field description for the Interface Event (Validations) page’s Vertical View
-
Enter a descriptive comment in the Comment field.
-
Click Save.
-
Return to the Interface Events page.
-
Click Vertical View for the event.
-
Click Retry Parameters to expand the section.
-
Click Edit.
View the field description for the Interface Event page’s Vertical View
-
Enter 10 in the Retry Interval field to indicate the stored procedure will retry 10 times.
-
Enter 60 in the Maximum Retry Interval field.
-
Select Seconds from the Retry Interval UOM list box.
NOTE: This means that when the stored procedure fails, the DSP will try to run it again in 60 seconds for 10 times and then stop.
-
Click Save.
Was this article helpful?
Sorry about that.
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
Want to tell us more?
Send an email to our authors to leave your feedback.
Great!
Thanks for your feedback.