How to exclude assets,templates and other references when workflow is unpublished.
when we publish workflow it's activating page assets and all references but when replicationActionType is Unpublish it should not activate assets and other references since these refernces are used in other places and it might break in other pages.
Is there a way to write condition when replicationActionType is Unpublish do not activate assets and consider only live copies and actual payload and it should not create revision for page.
