start custom workflow using action execute script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2013 07:35 AM
I want to create a rule, with the "execute a script" actions. I want to start the advanced workflow with the help of the rules.
i have created workflow using activiti and in alfresco share by default in rules execute script is showing only start pooled review and approve workflow .
how can i display my custom workflow ?
how i can create my custom action ?
where i should create javascript to perform an action so that document i attach to workflow get copied/moved to 'approved' folder i created in user homes/himanshu/approved
Thank You
Himanshu Kapoor
Dell International Services
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2013 12:18 AM
i know this topic is already discussed but can anybody tell me where we need to put javascript
we will have to define script task in workflow definition or we need to place somewhere else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2013 02:14 AM
Your custom workflow need not be displayed anywhere. Your steps should be as follow.
1) Create custom workflow deploy in alfresco
2) Create alfrescojavascript file which can trigger your custom workflow.
3) Place that script file ex.triggermyworkflow.js under companyhome>scripts space in alfresco
4) Create a rule execute triggerworkflow.js script on arrival of any document.
You are good to go.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2013 09:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 02:42 AM
Hi,Mittal Patoliya
I have a surf dashlet in that i have created an button and i wanted to start workflow on this button click.
On this button click i have popup "hello text" which works fine,
So how can i do that, Have you any idea about it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 03:14 AM
I am trying to do as you have explained.
Thank you ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 05:52 AM
Hi, Mit
i have tried to call webscript using remote.call("url");
and using
var connector = remote.connect("alfresco");
var data = connector.get("/startCustomWorkflow");
but the webscript not called.
how can i trigger workflow.
please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2016 05:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2016 02:26 AM
Thank you, Mittal Patoliya
I will try
