Skip to main content
sheejo
Level 3
Nov 7, 2025 2:32 AM UTC
Question

How to Update the source dataflow schedule time through API

Hello,
 
We need to update the source dataflow schedule time. I’m attempting this using AEP Flows API calls. For the request body, I’m using:
 
[
{
"op": "replace",
"path": "/scheduleParams/startTime",
"value": "1762482630000"
}
]
 
However, this approach isn’t working—I’m receiving a 412 Precondition Failed error. I am passing the flow ID and the If-Match (etag) header as required.
 
Could you please assist me in resolving this issue?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Tof_Jossic
Adobe Employee
Adobe Employee
Nov 10, 2025 11:01 AM UTC

@sheejo Would this work better?

 

[
  {
    "op": "replace",
    "path": "/scheduleParams",
    "value": {
      "startTime": 1762482630000
    }
  }
]
Translate
sheejo
sheejoAuthor
Level 3
Nov 14, 2025 5:56 PM UTC

No, it is not working

Translate
Tof_Jossic
Adobe Employee
Adobe Employee
Nov 17, 2025 5:05 PM UTC

@sheejo  I just tried with:

GET https://platform.adobe.io/data/foundation/flowservice/flows/:ID

to get the original details of the flow

 

Then used:

PATCH https://platform.adobe.io/data/foundation/flowservice/flows/:ID

 

.. with the following body (which is your original attempt):

 

[ { "op": "replace", "path": "/scheduleParams/startTime", "value": "1763743872" } ]
 
It works as long as you have the correct If-Match parameter, ie:
If-Match: "versionID" as taken from the first GET call.
 
Can you elaborate as to what error you get if the above does not work? Thanks
That 412 error is usually to do with pasting the etag in an incorrect format
Translate