Copy workflow to all the pages

Hi, Is there a way to copy a workflow to all the pages? I have unhandled error workflow which I need to copy across the website.

Have the workflow under a reusable element and that would be better.

2 Likes

Just adding to what Kim said:

Create a reusable, that you can name It Global and have all “global” workflows”.

Add to all pages and that is it :oncoming_fist:

Could be a little bit trickier to implement first time , since now you will need to work with variables to fit all scenarios from different pages.

But it is a set and forget implementation and will make maintenance easier.

2 Likes

If I have a header which is used in all the pages and I include this error handling there, Will I be able to fetch the page where the error occurred using ‘This URL’ ?

yep, ‘This URL’ will work fine in a reusable header. just make sure the WF is set to trigger only when there’s an error (condition on your error element) so it doesn’t fire on every page load.