Hi Sean! Thanks for your answer but no, the 501 is not the http code resonse, is the value returned in actorinitiatorid.
I recall the api rest and now for the same process I get another value for actorinitiatorid.
For example in my ‘ORG’ process, walter.bates is “Set as initiator”.
I call /API/bpm/process?f=name=ORG, and this is the response:
[{
“displayDescription”: “”,
“deploymentDate”: “2017-04-17 10:05:46.640”,
“displayName”: “ORG”,
“name”: “ORG”,
“description”: “”,
“deployedBy”: “4”,
“id”: “7454960520508366746”,
“activationState”: “ENABLED”,
“version”: “2.0”,
“configurationState”: “RESOLVED”,
“last_update_date”: “2017-04-17 10:05:52.517”,
“actorinitiatorid”: “601”
}]
but when I call /API/identity/user?f=userName=walter.bates&d=professional_data
[{
“firstname”: “Walter”,
“professional_data”: {
“country”: “United States”,
“website”: “”,
“address”: “Renwick Drive”,
“city”: “Philadelphia”,
“fax_number”: “484-302-0626”,
“building”: “70”,
“room”: “”,
“zipcode”: “19108”,
“phone_number”: “484-302-5626”,
“state”: “PA”,
“id”: “4”,
“mobile_number”: “”,
“email”: “walter.bates@acme.com”
},
“icon”: “icons/default/icon_user.png”,
“creation_date”: “2017-03-27 01:21:05.014”,
“userName”: “walter.bates”,
“title”: “Mr”,
“created_by_user_id”: “-1”,
“enabled”: “true”,
“lastname”: “Bates”,
“last_connection”: “2017-04-17 10:05:56.687”,
“password”: “”,
“manager_id”: “3”,
“id”: “4”,
“job_title”: “Human resources benefits”,
“last_update_date”: “2017-03-27 01:21:05.014”
}]
My process has 2 pools with send/receive message between each other. Both pool have walter.bates “Set as initiator”.
May be maching the value form “actorinitiatorid”: “601” and “id”: “4” (from /API/identity/user) is not the way to filter the user-initiated processes. Do exist another way using the API REST?
By the way I am using bonitasoft 7.4.2 version. And I can start the process in bonitaPortal logged with walter.bates.
Thanks a lot Sean.