Skip to content

RPC Process API Doesn't Update Request IDs #226

@tcjennings

Description

@tcjennings

The RPC process API results in a Task object with a reference to the request-id associated with the API request. This allows the requestor to later check the "result" of that Task by correlating the request-id with an activity log entry.

Although the RPC process API itself is idempotent -- only one Task will ever be created for a given node-transition -- subsequent calls to the RPC process API for the same "thing" generate new request-ids that are not tracked by the Task or any resulting activity logs entries. Consequently, the URL for "status update" returned by the API is incorrect.

The API should check for an existing Task item and scrape the original request-id from it to use in the "status update" URL. This would make the RPC process API idempotent for both the backend and the caller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions