Do clones wipe out workflow contexts?

Edward Rosario
Mega Sage
Mega Sage

Do clones wipe out workflow contexts?

5 REPLIES 5

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Yes and no I think. It depends on what you mean exactly 🙂

If you clone Production to Development. No these are not wiped from production. Are they copied to Development? By default no. Maybe that's what you mean with wipe out?

Reason why the Workflow Context is not cloned. Have a look at the Clone Exclude Tables. Amongst others, there's a record for "wf_context". So context is excluded.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Geeky
Kilo Guru
Yes they do. If you do not want then exclude the table from cloning.

vkachineni
Kilo Sage
Kilo Sage

Had problems with workflows after cloning to lower environments.

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

Swapnil Soni1
Giga Guru

Hi Edward,

if you define Preserve Data for Workflow Contexts, it will not copy the workflow context from source to target. Rather it will keep the target instance data untouched.
Preserving data means if you want to keep any target instance data to remain untouched. 

 

Just to clarify more, we define the Preserve data in the source instance to defend the data of the target instance. 

 

I hope this clarifies you. Please like or mark helpful or correct based on impact.

Thanks

Swapnil Soni