You can use the outputs from some REST APIs to create a URL for a partner to execute the
rolled out activity directly. You need to manually share this URL with the partner. Partner can use
this URL to execute the activity directly after successful login.
The activity is already rolled out to a partner with a valid name.
-
Get the Activity Instance Key by using the activity instance name.
https://<PEM_HOST>:<PEM_PORT>/pemws/sponsors/<SPONSOR_CONTEXT>/activityinstances/?activityInstName=<activity name provided during rollout>
-
Get the Participant Activity Instance Key by using the Activity Instance Key.
https://<PEM_HOST>:<PEM_PORT>/pemws/sponsors/<SPONSOR_CONTEXT>/activities/<activity instance key from Step 1's output>
A list of all the partners to whom the activity is rolled out is displayed with a unique
Participant Activity Instance Key for each partner.
-
Create the URL for a partner by using the Participant Activity Instance Key to directly access
the URL for executing the activity.
https://<PEM_HOST>:<PEM_PORT>/<SPONSOR_CONTEXT>/activity/participantactivity/<participant activity instance key from Step2's output>
Note: If you want to create the URL for each partner to whom the activity is being rolled out, you
need to create it separately for each partner.
-
Share the URL manually with the partner.
Partner can log in to the shared URL and a list of tasks for the rolled out activity is
displayed. Partner can directly execute these tasks.