Request Modeler – App Generation
Canvas now enables you to insert, modify and update business (application) data in the form of feasible micro-flows (requests), which paves the way for the smooth functioning of updating business data with much ease and reliability. You can assign your own set of micro-flows (requests) based on your needs and requirements.
Creating a Micro-flow (Request)
To create a micro-flow (request), perform the following steps in Canvas Studio:
- On the home page of Canvas Studio, click Create > Request.
The Create New Request page appears.
- Create a micro-flow (request) based on your needs and requirements. For more information on creating a micro-flow (request), refer Configuring Request Modeler and Creating Library Request.
- After providing the necessary details, click Save to save the request.
Once the request gets saved, the Workspace Menu Selection page appears.
- Click the Workspace Id lookup field and select a workspace of your choice from the list of existing workspaces.
- Once the proceedings get completed, click Save.
A confirmation message, indicating a successful save appears.
- Click Ok.
- On the home page of Canvas Studio, click App Designer.
The app, generated by the request appears as a classic grid in App Designer. The App ID is <Request ID_APP>, e.g. BENEFICIARY_DETAILS_APP.
Mapping the app generated by the request to a workspace
- On the home page of Canvas Studio, click Workspace Designer.
- Click icon to create a new workspace. For detailed information on creating workspaces and sub-workspaces, refer Create a New Workspace and Create a New Sub Workspace.
- On the Workspace Designer page, click the lookup icon and select the classic grid widget, generated by the request, e.g. BENEFICIARY_DETAILS.
- Proceed to click Add.
- To save the newly created workspace, click Save icon.
A confirmation message, indicating a successful save, appears.
- Click Ok.
Updating the business data in Application
- Log on to the functional application (e.g. Modelhouse) using your credentials.
- On the application home page, select the relevant workspace to which the BENEFICIARY_DETAILS_APP was mapped, e.g. BENEFICIARY DETAILS.
The data, displayed on the BENEFICIARY_DETAILS_VIEW grid widget appears.
- To edit the details of a beneficiary, right-click the row and click the Edit option.
The Edit Request window appears.
You can modify the details, based on your needs and requirements.
Note: The Currency field is non-editable, since the Currency column was chosen as the Business Key, while configuring the micro-flow (request) in Canvas Studio. The columns, chosen as Business Keys, will always remain non-editable in the Application.
- To submit the modified details, click Submit.
Since the micro-flow did not consist of pre-confirmation and authorization activities, the entered data gets submitted directly without involving the process of authorization and validation. A confirmation message, indicating a successful completion of the request appears.
- Click Ok.
- On the right side of the app header, click More > Refresh to refresh the web page.
The updated data appears on the grid widget, as shown in the following screen shot.