Question

Photo of Trey Hendon III

0

Workflow Entity

I'm trying to launch a workflow from inside the group leader toolbox.  I have the URL params ?GroupId=60&GroupName=Herff+Ranch passing through to my new page when I click the "Add Member" button (have the block setting Group Member Add Page focused on my custom page, not left blank).

The problem I'm having is getting the context of the Group.  I'm trying to set an attribute for the Worlfow ('Group' which is an attribute type Group).  I'm using the Set Attribute from Entity Action Type (tried Id instead of Guid too), but I'm getting the following error:

Workflow Processing Error(s):

  • Error in Activity: Request; Action: Set Group (Set Attribute From Entity action type)
  • The entity is null or not a Rock IEntity.

Anyone done something like this yet?

  • Photo of Trey Hendon III

    0

    Turns out I had to move the Action of Set Group above the Action of Prompt User (and did not have to persist state between thankfully).  So it's now working.  I've got the Group being set to an attribute when the form is filled.  Almost done with a Group Leader Toolbox Workflow requesting someone be added to their group.