Rule on Workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 08:10 AM
Is it possible to set Rule to execute script when we create new workflow?
My object is when a workflow is created to change the permissions of the assignee.
I need to change his permissions because if he does not belong to the site he can not see the document that is sent to him.
Is it possible to do this and if so I would like some guidance, since I am new in all this.
If this is not possible can you tell me some other way I can accomplish this?!?
Thanks in advance
My object is when a workflow is created to change the permissions of the assignee.
I need to change his permissions because if he does not belong to the site he can not see the document that is sent to him.
Is it possible to do this and if so I would like some guidance, since I am new in all this.
If this is not possible can you tell me some other way I can accomplish this?!?
Thanks in advance

Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 11:44 AM
You can always manipulate contents during different stages of workflow.
You need not even require to invoke a rule because you can put your alfresco javascript piece of code within your workflow definition file. That piece of code can be embedded within events like "transition","node-leave" etc…
You can check out of box workflow files to get better idea on how they are using it.
You need not even require to invoke a rule because you can put your alfresco javascript piece of code within your workflow definition file. That piece of code can be embedded within events like "transition","node-leave" etc…
You can check out of box workflow files to get better idea on how they are using it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2014 04:42 AM
Is it possible to do this using the workflows that come with Alfresco out-of-the-box ?
I don't know where to put this script I am supposed to create and how to access the workflow in question and change the parameters of the assignee ?!?
I tried looking on the internet but every single script code I found was creating and starting the workflow.
I don't know where to put this script I am supposed to create and how to access the workflow in question and change the parameters of the assignee ?!?
I tried looking on the internet but every single script code I found was creating and starting the workflow.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2014 02:02 PM
oK, let me go back one step. Which workflow you are using? Simple or Advance?
Simple workflow is normal two step workflow where you define step name from user interface and then also set all parameters like where content should be moved when approve etc..
In advance workflow you just select workflow name from list of available advance workflows (ex. adhoc,parallel group review).
Simple workflow is normal two step workflow where you define step name from user interface and then also set all parameters like where content should be moved when approve etc..
In advance workflow you just select workflow name from list of available advance workflows (ex. adhoc,parallel group review).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2014 05:24 AM
Simple Workflow. The plan is to use one of the workflows Alfresco offers like Review and Approve. I need to select a document and an assignee and start the workflow. But if the assignee does not belong to the site he can not see the document attached and therefore I need to change his permissions. It is possible to do this by clicking and changing his permissions, but it requires too much steps and I wish to do this when the workflow starts automatic. Sadly I am very new to Alfresco and I don`t know how to do this :/. If I can do this without creating custom workflow it would be the best thing
.

