How to define Sub roles in Dynamic role

241 views
Skip to first unread message

tanmoycha...@gmail.com

unread,
Jan 2, 2015, 7:50:26 AM1/2/15
to suppor...@runmyprocess.com, Somjit Banerjee

Hi Forum,

In my web interface i have observed plant location which is mapped with required safety officers, now i have created safety officer sub roles under safety role according plant location, for example - LSO KOLKATA ,LSO CHENNAI. And my main role which is safety officer is dynamic role, i want that when observation plant location is selected suppose kolkata, then from the Kolkata safety officer role all the persons will be defined in to the assign to tab of safety officer main role which is manual activity.

So please tell me how can i achieve it..............

Bidisha Das

unread,
Jan 2, 2015, 11:01:08 AM1/2/15
to suppor...@runmyprocess.com
Hi Tanmoy,

In your case,assuming that the manual activity lies in the dynamic role, you can use the following code in the input variable of your manual activity:

role_id :<#if observation plant location == "kolkata"> [make sure observation plant location is same as you get in process parameters]
            role id of LSO KOLKATA [So all the users belonging to this role will be assigned to the manual task]
<#else>
            role id of LSO CHENNAI
            </#if>

In "Assign to entity" in the manual activity, you can pass ${role_id}.



Thanks & Regards
Bidisha

Tanmoy chakraborty

unread,
Jan 2, 2015, 12:04:37 PM1/2/15
to suppor...@runmyprocess.com, Bidisha Das
Hi  Bidisha,

                I still want to know one thing because I have been testing this code from user guide
when the else part is executed as it is given below.........

  <else>role id of LSO CHENNAI
            </#if>
 the role id LSO Chennai will be executed only if the plant location is Chennai

I have around 10 plant location  so what will be the changes for that...................please reply...............





--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/aqIwaypFts8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/CAMGV9zsAv6WQSbZvGNwR5Qf7kfSTyEmEvGuhNgHHYm8fsomHPw%40mail.gmail.com.

Murali

unread,
Jan 2, 2015, 9:58:50 PM1/2/15
to suppor...@runmyprocess.com, Tanmoy chakraborty, suppor...@runmyprocess.com, banerjee...@gmail.com
Hi Tanmoy,

Please follow below syntax to validate for multiple conditions.

<#if condition1>
  ...
<#elseif condition2>
  ...
<#elseif condition3>
  ...
<#else>
  ...
</#if>

Regards,
Murali
To unsubscribe from this group and all its topics, send an email to supportforum+unsubscribe@runmyprocess.com.

To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
Reply all
Reply to author
Forward
0 new messages