How to raise 2 or more processes based on one event (SAP user in SAP role)

Hi,

I have following case:

1. There are a number of business roles (learning courses) which have assigned SAP roles.

2. When SAP role is assigned to SAP user - related learning course(s) should be assigned via API in another application. I'm using UID_Person and UID_Org here to build and send a request to another app's API.

3. SAP role may have more than one learning course assigned and vice versa. Here comes trouble, because if I should assign one course per each role there are no issues and process works fine, but if I need to assign one or more courses to one user - I'm confused how to do this in scope of existing process.

So, the main question: is there any solution to pass one or more UID_Org returned and process them for building a request, for example:

Invoke-RestMethod -Uri ""https://..." + $FK(UID_SAPUser).FK(UID_Person)$ + "/" + "$UID_Org1"

Invoke-RestMethod -Uri ""https://..." + $FK(UID_SAPUser).FK(UID_Person)$ + "/" + "$UID_Org2"

Invoke-RestMethod -Uri ""https://..." + $FK(UID_SAPUser).FK(UID_Person)$ + "/" + "$UID_Org3" etc?

Or such behavior requires an additional script development?