SDP cloud REST api metadata support

SDP cloud REST api metadata support

Hi all,

I'm working on a bi-directional sync between our company's app and SDP Cloud.

Flow:

  • App → SDP: Using SDP Cloud V3 API (edit-request) to update ticket status.

  • SDP → App: Using Triggers + Custom Functions to detect status updates and call our public API.

Problem:
Because the sync is two-way, when SDP updates a ticket and triggers the sync, our app updates it back to SDP — causing an infinite loop.


What I need

I want a way to send an internal flag/mark when calling edit-request API, such that:

1. The flag exists only for that update call, not permanently stored as ticket property.
2. When Trigger executes and Custom Function runs, I can check this flag.
3. If the update originated from our app → the flag exists and custom function checks the existence of this flag thus skipping callback to our API.
4. If the update is from SDP cloud UI -> the flag doesn't exist and custom function didn't find the existence of the flag and thus syncing back to our company's app.


What I tried

- Added udf_fields.some_flag during request creation

- However, UDF fields become part of ticket data, so Custom Function can still read it — not suitable as temporary flag.


Diagram to illustrate:



Question

Is there any supported way to:

  • send a temporary flag/metadata with request update API, or

  • detect if an update was triggered by API (vs UI/user input), or

  • mark API-originated updates so triggers can conditionally ignore them?

Any workaround/alternative design is welcome.

Thanks in advance!


By the way, below is the document I referenced for the integration:

                  New to ADSelfService Plus?