User / Group list as a property
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2014 12:38 AM
Hi, is it possible to store a list of user / group as a property of a custom content? Then for every new version of a file, the system trigger a workflow to send a email to user / group according to the list for approval? thankyou.
ST
ST
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2014 09:01 AM
You can have custom properties to store the usernames/groupnames. You can have these properties as text and put the comma/colan separated values. However, in my opinion, instead of doing that - can not you use the users/groups given permission on that content, this way you will not have to maintain custom prpoerties i believe. Or the users/group given permission on a node and the one you want to store as properties are different one?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2014 04:34 PM
thanks romschn, yes i need a separated list to store users/group other than permission list, as the list is not for access right. I need a specific list for the relevant persons on each customized content, and for every new updated content, the relevant persons will have to approve the update thru workflow system.
I have added an associations for the relevant person list, but still figuring out how to trigger a workflow when updating new content.
I have added an associations for the relevant person list, but still figuring out how to trigger a workflow when updating new content.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2014 12:57 PM
Or you can try to create associations between your custom content and it's correspoding user/group.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2014 04:38 PM
thankyou kaynezhang, i've added an association for person list, and it works, thankyou.
on the other hands, if i need to trigger workflow when updating version of the customized content, the workflow would refer to the person list for a parallel approval, do you have any idea to achieve it? thankyou
on the other hands, if i need to trigger workflow when updating version of the customized content, the workflow would refer to the person list for a parallel approval, do you have any idea to achieve it? thankyou
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2014 06:32 PM
You can configure a rule that triggers when the document is updated. The rule can execute JavaScript. In your JavaScript you can grab the person list, then use the workflow service to start the workflow. The tricky bit here is to figure out if you can somehow pass the person list to the workflow assignment. If it isn't obvious how to do that via JavaScript you can just write your own custom action that gets triggered by the rule because I know you can do it through Java.
Jeff
Jeff
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2014 12:31 AM
thanks Jeff, let me have a try
