metadata for a role

165 views
Skip to first unread message

J.M.

unread,
Feb 7, 2017, 11:19:49 AM2/7/17
to Fujitsu RunMyProcess Developer Community
Hi,


I have a question:
Would it be possible to add metadata to a role instead of adding them to all users?


Thanks and regards.

Dipen Raval

unread,
Feb 7, 2017, 3:52:03 PM2/7/17
to suppor...@runmyprocess.com
Hi Javier,

It is possible to add metadata to a role instead of adding them to all users.
Please find mentioned steps to achieve this functionality.

Step-1. You need to include user in the role and then use freemarker funtion
        "save_user_metadata(login, metadata)", so if user exists in that role then
        save metadata as per requirement.

Step-2. Use script lane to check if user exists in the role then add metadata via 
        freemarker function available.

Could you please confirm that above solution satisfy your requirement?
If not can you please give us more information on your requirement.
If you are facing any issue don't hesitate to contact us.

Regards,
Dipen Raval


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://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/abf901d6-f6a5-4cf2-8603-3c0aa4b46f44%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

J.M.

unread,
Feb 8, 2017, 2:37:41 AM2/8/17
to Fujitsu RunMyProcess Developer Community
Hi,

I don't understand well, Could you provide me some example please?
Just for clarify, I want to add some metadata to users who belong to a role, and only for them. That would be possible for any kind of role (including dynamic role, runtime role, etc)?

Thanks and regards

On Tuesday, February 7, 2017 at 9:52:03 PM UTC+1, draval wrote:
> Hi Javier,
>
>
> It is possible to add metadata to a role instead of adding them to all users.
> Please find mentioned steps to achieve this functionality.
>
>
> Step-1. You need to include user in the role and then use freemarker funtion
>         "save_user_metadata(login, metadata)", so if user exists in that role then
>         save metadata as per requirement.
>
>
> Step-2. Use script lane to check if user exists in the role then add metadata via 
>         freemarker function available.
>
>
> Could you please confirm that above solution satisfy your requirement?
> If not can you please give us more information on your requirement.
> If you are facing any issue don't hesitate to contact us.
>
>
> Regards,
> Dipen Raval
>
>
> On Tue, Feb 7, 2017 at 9:49 PM, J.M. <javiermm...@gmail.com> wrote:
> Hi,
>
>
>
>
>
> I have a question:
>
> Would it be possible to add metadata to a role instead of adding them to all users?
>
>
>
>
>
> Thanks and regards.
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.

Ankita Shrinath

unread,
Feb 21, 2017, 9:43:03 AM2/21/17
to Fujitsu RunMyProcess Developer Community, javiermm...@gmail.com
Hi Javier,
Good Day.

All our apologizes for the delay in reply.
Please find below answers to your questions:

"save_user_metadata(login, metadata)" method is used to modify the metadata of a user.
You can use "get_lane_users(poolId, laneId, pageSize, first)" method to get list of all the user in lane and save metadata accordingly.

Please find attached screenshot and user guide link for more Information:

Hope this helps you.Feel free to contact us for any query.

Regards,
Ankita

To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.

To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
save_user_metadata.PNG
save_user_metadata_output.PNG

J.M.

unread,
Feb 22, 2017, 2:46:06 AM2/22/17
to Fujitsu RunMyProcess Developer Community, javiermm...@gmail.com
So, the ADDITION of metadata is always for all users, and it is possible to MODIFY metadata for users belonging to a role.

OK, then.


Regards.
Reply all
Reply to author
Forward
0 new messages