You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say you have a working contact form and a corresponding workflow with a HTTP request event. If it's exported, then imported on a different site or using a setup recipe, it won't work anymore until the URL is regenerated (it returns 404).
To Reproduce
Steps to reproduce the behavior:
Enable Workflows HTTP and Form features.
Create a Workflow that is triggered by a HTTP Request event. Set it to POST. To make it testable add a Notify task and a Redirect task that redirects back to an existing URL.
Create a Page with a Form widget or a Form widget on a layer. Set the URL provided by the HTTP Request event. Add a Submit button.
Test the Page, click on the Submit button, observe that it's working.
Create a Deployment Plan with Workflows and Content items. Export to a file.
Reset the site (ie. delete the App_Data folder).
Make sure the Workflows HTTP and Form features are enabled.
Import the recipe.
Test the Page again, observe that it's not working anymore (returns 404 after submit).
Go to the Workflow editor, regenerate the URL, save. Go to the Form, update the URL, Save.
Test the Page again, observe that it's working again.
Expected behavior
The imported workflow and page should work, ie. the HTTP POST URL should still be active.
The text was updated successfully, but these errors were encountered:
@sebastienros I guess it is by design. You can't decrypt token from different tenant.
It will only work when you will export workflows and import them back on the same tenant.
I faced the same issue in the past, and solve it be regenerating activity URL.
@lampersky I guess I missed this step: "Reset the site (ie. delete the App_Data folder).". That makes sense.
So this is about implementing the secrets management feature to support it, or to configure the tenants with a data protection store that is reused.
But your PR looks like a good solution too. We'll review it. Maybe we should do a pass on things that use data protection which could also be exported and be solved with the same technique.
Describe the bug
Say you have a working contact form and a corresponding workflow with a HTTP request event. If it's exported, then imported on a different site or using a setup recipe, it won't work anymore until the URL is regenerated (it returns 404).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The imported workflow and page should work, ie. the HTTP POST URL should still be active.
The text was updated successfully, but these errors were encountered: