cancel
Showing results for 
Search instead for 
Did you mean: 

Get task id from process context

Former Member
0 Kudos

Hi!

how is it possible to retrieve the id from an (active) task in a process? My goal to use a notification activity in order to send an email which contains a direct link to a task . I don't want to use the build-in task notification because the template is not flexible enough.

Best regards,

Kevin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kevin,

This might be helpful to you:

Cheers,

Arafat

Former Member
0 Kudos

Hi Arafat,

thanks for the link. I also looked at this [blog |http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16356] [original link is broken] [original link is broken] [original link is broken]; on how to use the UWL API.

However, it is still unclear whether I can model my process in a way that first I put the a notification element (with the direct link to the next task) and then comes the human activity. If somebody has achieved this I would appreciate any information.

The second option would be to use the build-in notification but apparently you have to use the email template provided by SAP and it is not possible to change it. I think this is a major drawback of CE BPM and should definitely considered by SAP.

Best regards,

Kevin

Former Member
0 Kudos

Hi,

We looked extensively into retrieving the process ID from CE to do a correlation with a separate flow but this is not possible (through our own extensive searches as well as confirmation directly from SAP). We ended up doing the correlation on uniquely created IDs we started the process with.

For example you would make the ID of the process the person who started it concatenated with the complete timestamp, then it's pretty much unique unless your user manages to create more than one instance in the same microsecond, which is unlikely

What is possible however, is creating your own UWL, and linking to that. Kennichi Unnai did extensive research on this:

/people/kenichi.unnai/blog

In particular this blog: /people/kenichi.unnai/blog/2009/10/19/how-to-use-uwl-api-for-netweaver-bpm-tasks

Good luck,

Frederik-Jan.

Former Member
0 Kudos

This feature will be delivered in CE 7.3

Answers (0)