Hello Community,
I would like to solve the following scenario, and would appreciate some pointers:
On my custom portal, I have a web form and 3 web form steps. Let's call them the followings for sample illustration here:
- Web Form Step 1: Load Tab
- Web Form Step 2: Load Tab
- Web Form Step 3: Redirect to Web Page A
Under Web Form Step 2, I have added an action button called "Submit", which when clicked will trigger a workflow that updates certain field on the record. When I am testing this out, the behaviour I am seeing is that when I click on this Submit button on web form step 2, it triggers the workflow, but after the workflow has been successfully initiated, the page stays on the same web form step 2. Is there a way I can make it (without codes if possible) so that clicking on the submit button will trigger the workflow AND redirect the web form step 2 page to a different web page (i.e. Web Page A)?
Can the above be achieved?
Thanks!
You could create a “dummy” field on your entity. On the Step 2, use Entity Metadata on the Web Form to force that field to update to some arbitrary value.
Have your Workflow trigger on that event. Then you can redirect for Step 3 to your page.
Hi @Anonymous ,
Yeah, you are right. If you want to achieve your needs without any code, i afraid that there is no way to achieve your needs.
As an possible solution, I think the custom JavaScript code in the "Forms Options" tab of your second Web Forms Step could achieve your needs.
Please check and see if the above articles I provided could help in your scenario.
Best regards,
Hi @v-xida-msft ,
Thank you very much for your information!
In my scenario, I don't want to move to the next web form step, after I have clicked the workflow button in the previous web form step - I simply want to exit out of the web form step process and go to another web page instead.
As you mentioned, it sounds like there is no way to achieve this without any codes. I will look further into the articles you have provided.
Thanks!
Hi @Anonymous ,
Do you want to navigate to your Next web form step after you execute the "Workflow" automatically?
Based on the needs that you mentioned, I afraid that there is no direct way to achieve your needs in PowerApps Portal. As an possible solution, you could consider achieve your needs using custom JavaScript code.
You could consider customize JavaScript code in the "Custom JavaScript" section under the "Form Options" tab in your second Web Forms Step:
Please check and see if the following blog or article would help in your scenario:
https://himbap.com/blog/?p=2983
More details about using Custom JavaScript in Web Forms Step, please check the following article:
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript
Best regards,
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35