I have tried two different means to do the same task. Neither work. The requirement is simple. When a user record is saved with a department name matching the word “Affiliate” that user is assigned a predefined role.
VIA V8 API, I have tried to access the Security Groups of the user via the V8 api url rout that was provided when I requested information on a given user. That url returns:
{
"errors": {
"status": 400,
"title": null,
"detail": "Cannot load relationship securitygroups for User module"
}
}
This being a dead stick. I tried to create a workflow that would do the same task as pictured below. I even tried to remove the conditions, but again absolutely nothing is done to the record at all.
Here is the workflow definition since when I click to upload the image nothing happens on this board I must define it below in words:
Actions:
Action: Modify Record
Record Type: User
Add Relationship: Roles:Roles Value “Outreach Affiliate” (from look up)
Add Relationship: Security Suite Management: Security Groups Value “Outreach Affiliates” (from lookup)
Expected Action on a save of the user record:
The “Outreach Affiliate” role is assigned to that user
Actual Action on save:
Exactly nothing. It saves changes to field values, but no relationship is made and even though the logs seems to show attempts nothing whatsoever shows.