cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SCP Workflow Task HyperLink in email Task

VijayCR
Active Contributor
0 Kudos

Hello Experts,

I have requirement for Boundary time event to trigger an email task and in the email subject the link the User task should be provided so that the processor can choose the link and can navigate to the SAP SCP work inbox application and portal. I have found the contextual variables for the workflow instance and the workflow user taks instance but how to build the whole portal + Inbox app in the link .

$.context.lastUserTask1 = $.usertasks.usertasks1.last;

Is there any way to do it ?

Thanks,

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Archana
Product and Topic Expert
Product and Topic Expert

Hello Vijaya,
My Inbox provides a deep linking to the task. You need to form the URL lets say in the user task UI component (#init method) and store it in workflow context or you can also create it on the fly in the HTML body of the email task. Here is the sample of the URL and you need to replace the <tag> with respective details of your tenant configurations:

https://<org name>-<space>-<approuter>#WorkflowTask-DisplayMyInbox?sap-ui-app-id-hint=cross.fnd.fiori.inbox&/detail/NA/<taskID>/TaskCollection(SAP__Origin='NA',InstanceID=‘<‘task ID’) 

Answers (2)

Answers (2)

Kuppala_raj
Discoverer
0 Kudos

Unable to access context elements($.context.splitIntake.splitIntakeInfo[0].eff_dt) in mail task.. could please helps on it. @archana.shukla

VijayCR
Active Contributor
0 Kudos

Hello archana.shukla,

Thanks we were able to get the link using the init method and store it in th workflow.However when the User tasks are dynamically decided in case of multiple level approvers this has more effort to implement.As you suggested to us to get the VCAP_SERVICES Environment variables using Node.JS code will be better approach and will save lot of efforts instead of creating UI component even for the simple User takks which could be also done using by Forms.

Thanks,

Vijay