12 Feb 2024 01:54 PM - last edited on 13 Feb 2024 07:39 AM by MaciejNeumann
Hi Team
I have built one workflow , having Task 1 - run_validation which runs SRG.
When I am planning to run this workflow using DT API /automation/v1/workflows/
Can somebody please help me to know How to pass SRG custom timeframe timeframe( time window for SRG validation) as a input time in DT API request body?
Regards,
Heramb Sawant
13 Feb 2024 07:42 AM
Please help me on this
15 Feb 2024 02:13 PM
Hello Heramb,
I would like to propose solving this by sending an event (BIZ_EVENT), which then acts as a trigger for your workflow.
In Workflows:
1. Set the trigger of your workflow to be an Event trigger
2. Configure a filter to act on those events that should trigger the workflow
Instead of calling the API, compile a JSON payload as explained here and set it to the endpoint: /platform/classic/environment-api/v2/bizevents/ingest
The event payload then provides the timeframe to validate.
Regards,
Johannes
Best Regards,
Johannes