Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The saved, pending for approval, and rejected requests are stored in the CT_REQ_MDLR_STATE_MODEL until they are approved. There may be scenarios when you want the data in this table to be displayed in an app in a grid view. In such cases, Canvas felt the need to provide an option to the end user to edit, delete or approve the requests based on the user entitlements by accessing them through the grid. For this the requestEdit API has been implemented. The end user can edit, delete or approve requests on the click of a button, a link or through a context menu configured in the app.


Note

STATE_ID and VERSION columns in the CTID and VERSION columns in the CT_REQ_MDLR_STATE_MODEL table MODEL table are primary keys and must be provided in the app view. If not, the requestEdit API cannot the requestEdit API cannot be used. 


If the Model ID is mapped to the form, by default the form is displayed in the Request Modeler container. In case the custom form container is used, then explicit wiring is needed to proceed with the request edit, delete or approve sequence. The wiring can be done using the executeAction the executeAction API. For information on custom action wiring, refer API to Wire Custom Actions in the Self-designed Forms or Form Container to the Request Model Actions section. 

...