Automatic App Generation of Requests

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. For each and every created request, the app will get automatically generated with the appropriate columns in App Designer. Refer the following sections for the creation of requests, mapping the automatically generated app to a request and to update the business data in your end application: 

Creating a Micro-flow (Request)

To create a micro-flow (request), perform the following steps in Canvas Studio:

  1. On the home page of Canvas Studio, click Create > Request.



    The Create New Request page appears.



  2. 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.
    1. After providing the necessary details, click Save to save the request.    



    Once the request gets saved, the Workspace Menu Selection page appears.

  3. Click the Workspace Id lookup field and select a workspace of your choice from the list of existing workspaces.



  4. Once the proceedings get completed, click Save.



    A confirmation message, indicating a successful save appears.



  5. Click Ok.
  6. 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

For mapping the app, generated by the request, to a workspace, perform the following steps in Canvas Studio: 

  1. On the home page of Canvas Studio, click Workspace Designer.




  2. 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.



  3. On the Workspace Designer page, click the lookup iconand select the classic grid widget, generated by the request, e.g. BENEFICIARY_DETAILS.
    1. Proceed to click Add.



  4. To save the newly created workspace, click Saveicon.



    A confirmation message, indicating a successful save, appears.



  5. Click Ok.


Updating the Business Data in End Application

To update the business data, associated with the generated request in your end application, perform the following steps: 

  1. Log on to the functional application (e.g. Modelhouse) using your credentials.



  2. 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.



  3. To edit the details of a beneficiary, right-click the appropriate row and select the Edit option.



    The Edit Request window appears.



    You can modify the details, based on your needs and requirements.

    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 End Application.

  4. 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 processes of authorization and validation. A confirmation message, indicating a successful completion of the request appears.



  5. Click Ok.
  6. 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 displayed in the following screen shot: