I am trying to build a workflow which would send an email notification when a manager changes for a particular department using certain conditions.
The workflow works fine when triggering it as an “UPDATE” workflow, but when included in a “BATCH” workflow using the “Run Workflow” action it throws an error in the REST API step.
This step uses the profile’s ID to “GET” the profile using the “Get Profile Using ID” API endpoint which is as follows:
https://{{tenant_name}}nonemployee.com/api/profiles/{{profile.id}}
Ensure you are sending the Profile to the update workflow on the Run Workflow action.
Furthermore, may be helpful in seeing how you have setup the batch workflow. Specifically the “Make all profiles” available and the “Create a new reqest for each profile selected” option
So you just need to toggle the radio button under “Profile to send to new request” option to “Current Profile”. This will send the profile of the workflow session to your chosen subworkflow.