How to set up new HTTP Webhook Get Trigger Event Output

Respectfully request if anyone has set up the new GA HTTP webhook for a disconnected trigger with Orchestrator successfully? I went through Orchestrator - Creating an event trigger to set up my connection in Integration Service. I then set up the Event trigger in Orchestrator and created a published process (Studio desktop) that has the Get Trigger Event Output activity and a log message. Whenever my trigger is enabled, the job fails on getting the UiPath event object ID that is a required field in the Get Trigger Event Output activity.

I set the UiPath event object ID to be an in argument with type of string. In Orchestrator I’ve tried several names to pass from the incoming webhook but each time I get the below error. Does anyone know how to properly pass down the event ID from the webhook? If I put in an event ID from a job that failed in Studio and manually run it everything works.
in Main.xaml
at ConnectorActivity “Get Trigger Event Output”
at Sequence “Sequence”
at Main “Main”

UiPath.IntegrationService.Activities.Runtime.Exceptions.RuntimeException: Request failed with error:
ProviderMessage : debug_id - d9c92bb9-ea17-9168-b1db-b99997c64004, details - [{field=null, issue=No instance id found in “Runtime Argument in the trigger”, location=null, value=null}], message - Invalid data provided, name - VALIDATION_ERROR
ProviderErrorCode : 400
RequestId : 697245c6e4b0f15c1cc8a549
Message : Bad Request

Trigger setup argument section:


I have tried using the connection trigger, but that one never triggers. This all worked with the Preview version, just not the GA version that just became available. Any assistance is greatly appreciated.

1 Like

@Kyle_Barton1

change name to UiPathEventObjectId

you dont need to pass anything..its an auto populated field with name match

cheers

That is so weird and odd. I changed my argument name from in_EventObjectId to UiPathEventObjectId. It deleted my argument and now the job runs successfully. Thank you @Anil_G.

Just in case others find this I used a deserialize json with the following: webOutput._Event.request_body. Where webOutput is my output variable from the Get Trigger Event Output activity with Data Type GetTriggerEventObject_Retrieve.

1 Like

Hi @Kyle_Barton1

you should not pass the event ID from the webhook payload.

In GA, Orchestrator generates the UiPath event object ID automatically and passes it to the job through the trigger runtime argument. Make sure the runtime argument name defined in the Event Trigger exactly matches the In argument used in Get Trigger Event Output.

Do not use a custom value from the webhook. Republish the process after updating the trigger arguments.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.