- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2019 01:29 AM
Hi community!
Just the same way it is possible to copy (duplicate) a workflow activity inside the same workflow, I'm wondering if it is possible to copy a workflow activity into another workflow.
Any idea?
Best Regards!
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 04:41 AM
It would be fantastic as this would save us a lot of time. As this is not currently possible OOTB, I have opened an idea in ServiceNow idea portal:
Anyone considering this as an useful improvement, please like the idea 😉

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2019 01:33 AM
Hi
Yes we can do that with the help of wf_acitivity_defination table, Please have a look at the below links :-
Check this docs link as well :-
Regards,
Omkar Mone
www.dxsherpa.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2019 01:52 AM
Hi Omkar, thank you for your reply.
That UI Action is to copy the activity definition, but I want to copy the workflow activity (the activity box of the workflow, not the definition). Maybe looking into the workflow xml it is possible but I don't get with the solution to this...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 03:40 AM
Very good question. It'd be nice if we could simply drag-n-drop a couple of selected activities from one checked-out workflow and drop them onto a second checked-out workflow.
This would save a ton of time re-writing a lot of code/logic. Although, angel.jimenez, I know it's not possible OOB to do so. However, perhaps there's someone out there who's written a tool/script to do such a thing? If not, I'll have a crack at it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2019 04:41 AM
It would be fantastic as this would save us a lot of time. As this is not currently possible OOTB, I have opened an idea in ServiceNow idea portal:
Anyone considering this as an useful improvement, please like the idea 😉