Integrate Page with other systems using Microflow
Last updated
Last updated
Page can be integrated with other internal and external systems like databases or web services using Microflow to create dynamic web pages on ONEWEB. This section shows you how to call a Microflow Service from Page, and also to display the data returned by the service on the Page.
Page to call Microflow Go to the Page Designer and open the Page that you want to make dynamic.
1. Click on the input field to be passed to Microflow while calling
4. Select the State parameter to connect (Microflow mapping allows only state parameters to be mapped to the microflow input parameter. Hence to pass a parameter to microflow user needs to map the input field to State)
5. Click on the element or container which initiates the call to your microflow (1). In this example, we call the microflow at the click of a button.
Click on the Add icon under Action
Select "click" in Event
Select "Microflow" in the tabs
Click Refresh to reload the available services.
Select "Your Project Name" in Microflow project name
Select "Your process Name" in Microflow process name
8. Map the Page Designer parameter to the Microflow Parameter. Remember to Save mapping by clicking on the Save icon on the mapping screen.
9. User can hook and add JavaScript functions before and after the microflow call.
10. User can also redirect to another page on the success of the call.
Update data on Page from Microflow
1. Select an object on a page which displays the data coming from service
4. Select the field name and click Connect.
5. Click Done on the Connect to Data dialog.
Now the page is successfully integrated with the Microflow and can show the retrieved data on the screen.
2. Click on to Connect to data icon 3. Click on the State tab and click on Connect to State button
6. Click on the tools panel on the left menu to open the interaction & data flow configuration panel (2)
7. Click to open Mapping Window (3)
2. Click to Connect to Data 3. Click the Microflow tab and choose the value from Microflow. Click on the 'Connect to Data' button