Skip to Content
Author's profile photo Gilles JUNG

Integrating Visual Composer Model with UWL Part 3/3

Integrating Visual Composer Model with UWL

SAP EP 7.31 SP9, ERP 6 EHP4.

The background:

You have a workflow, for instance a basis workflow defined in SAP ERP 6 backend.

This workflow triggers work item creation.

SAP EP is set up and Universal Work List (UWL) is connected to the backend system.

Workflow work items appear in UWL as tasks.

Target:

You want to trigger a Visual Composer model to handle the UWL task instead of launching a HTML SAP Gui windows.

This blog will be split in several parts:

UWL Configuration

UWL configuration

UWL 1 config.png

Click to manage Item Type and View Definitions

UWL 2 config.png

UWL 3 config.png

XLM Configuration details

UWL 4 config xml.png

Details for Action Launcher

<Actions>

<Action name=”launchVisualComposer” groupAction=”” handler=”IViewLauncher” returnToDetailViewAllowed=”yes” launchInNewWindow=”yes” launchNewWindowFeatures=”resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no”>

<Properties>

<Property name=”workitemId” value=”${item.externalId}”/>

<Property name=”iviewDynamicParameter” value=”WI_ID=${item.externalId}”/>

<Property name=”iview” value=”pcd:portal_content/pcc_portal_application/fr.ugap.geops.UGAP_GEOPS/ugap.geops.Sites_et_Demandes/fr.ugap.geops.uwl_task_VC”/>

</Properties>

<Descriptions default=”Launch Demo IView”>

<ShortDescriptions>

<Description Language=”fr” Description=”Traiter la demande VC”/>

</ShortDescriptions>

</Descriptions>

</Action>

The <Property name> value for the iview contains the page position.

Result

‘Launch Demo IView’ triggers VC model execution.

UWL 5 uwl.png

Result: you can see work item id sent to VC model.

UWL 6 result.png

Other references and remarks

SAP Help for UWL launcher.

Each time UWL XML configuration is changed you need to clear the cache.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.