automation-get-result

Purpose

This automation returns Itential job variables given a specific automation ID.

automation-get-result

API used:

/operations-manager/jobs/:id

Input

InputsData TypeSample InputDescription
instance_nameDropdown (String)SE Lab Prod 2023.1The Itential Platform instance name
automation_idString4278c701b83943b08a98***The Automation ID of the automation to get its status
token (optional)string9f0999c2-7054-4820-8eeb-c3052d30acaaAuthentication token or empty if an API key is used

Output

OutputData TypeSample OutputDescription
automation-resultJSONSample output shown below.Returns the resulting variables from the automation.

Sample Output

1{
2 "initiator": "user.user@itential.com",
3 "_id": "2df0119b027a4acda713739c"
4}

Error Output

Error OutputData TypeSample OutputDescription
error_messageStringMalformed URL encountered: Protocol is missing in the URLError message