Skip to end of banner
Go to start of banner

Fulfilment Workflow Lab

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Objective

Create a fulfillment workflow that adds accounts to a group.

Below is not the recommended way.

 E.TList<C.GroupAccount> targetgroupAccount = new E.TList<GroupAccount>();

 foreach (var bri in CurrentWorkflow.ValidateBRIs.ClaimedBusinessRequestItems)
 {
     var ac = C.Account.GetByAccountGUID(bri.RequestDataAssigneeID.Value);
     var gr = C.Group.GetByGroupGUID(bri.RequestDataTargetResourceID.Value);
     var ga = new C.GroupAccount() { AccountID = ac.AccountID, GroupID = gr.GroupID };
     targetgroupAccount.Add(ga);
 }
image-20250130-212454.png

  • No labels