Roles - Owner

Hello,

I am creating a new workflow and I need to set the owner of a few states to a role that we don't already have.  So I created a new role in Composer and set the owner to that new role.  In Administrator, I added users to that role.

I then published so I could test.  When the workflow got to the state, where it should list the owner, it says "(None)."  Is there some other step I missed?

On a related note, when I created the role in Composer, it created a field and placed it on the "quick form" and set it as a required field.  I didn't know it did that.  I set the workflow to use a form that I created and when I tested it in Work Center, the form I created appeared as expected, but when I tried to submit it, it said I needed to provide an answer to the required field, which wasn't even on that form.  Did I do something wrong there?

Thanks very much,

Mike

  • Suggested Answer

    0

    I think only a "User" field can be owner of a state, not a role. You need to check your "In Queue" state in the process app again, make sure that its owner from the property editor is any user field that exists in the same table.

  • Suggested Answer

    0  

    When you assign a role to a user field, you are telling SBM that any user assigned to a role can appear in that user field.  Typically, you would assign one or more groups to the role after deploy.  

    On the state in the workflow, specify the user field that acts as owner.

    As the item progresses through the workflow, the selected value in user field gets set as the owner as the item moves into the state.  An owner only uses single user fields.  If you want multiple owners then you want to use secondary owner and specify a multi-user field.

    the value of the user field needs to be set prior or during the transition.

  • 0

    Thank you both for your responses.  I added a user field to the table and named it 'Print Operator.'  I then assigned the 'Print Team' role to it.  It was then available in the 'Owner' list to select.

    I deployed and tested.  I got this message:

    That field is NOT on my form, so it must have put it on the 'quick form', which you can't edit.  Any thoughts on what I can do with this?

    Thanks again.

  • 0 in reply to   

    Thank you both for your responses.  I added a user field to the table and named it 'Print Operator.'  I then assigned the 'Print Team' role to it.  It was then available in the 'Owner' list to select.

    I deployed and tested.  I got this message:

    That field is NOT on my form, so it must have put it on the 'quick form', which you can't edit.  Any thoughts on what I can do with this?

    Thanks again.

  • 0 in reply to 

    From your SBM Administrator Portal of your Work Center, you should actually assign your existing users/groups to that "Print Team" role for the same project you're working on.

  • 0 in reply to 

    I did do that.  I created a 'Print Team Users' group and assigned that group to the 'Print Team' role within the 'Print Request' workflow:

    Thoughts?

    Thanks again.

  • 0   in reply to 

    If you temporarily add the Print Operator to your form, do you see a value in this field before completing the transition.  For custom forms, you may need to add it to the custom form manually.

  • 0 in reply to   

    I added it to the form I created and when I create a new ticket, the value is (None).

    Do I need to set a default value or something?

    Thanks again.

  • 0   in reply to 

    The Print Operator field needs to be set to a value if it is used for ownership entering into a state.  If you look at your workflow, do you use the Print Operator as owner?  

    With in your workflow, think about what determines the value of Printer Operator.  Is it always just one user? Is it always any one in a group of users? Or at some point does just one user take over?  

    The rule is that the Print Operator can only be the owner if it has valid user selected for the state and the user can own items.

  • 0 in reply to   

    The Print Operator is usually one person.  How can I set that field to default to that person?  We don't want to have to manually set it during Submit.  Is there a better way to achieve this?  Here is a partial screenshot of the workflow:

    Thanks David.