Skip to main content
Nintex Community Menu Bar

Finding the Serial Number of a Worklistitem after GoToActivity ?

  • October 25, 2007
  • 3 replies
  • 28 views

beckettj
Forum|alt.badge.img+5

Can anybody think up a good way of finding out the new serial number of a worklist item after calling "GoToActivity()" ?

(i.e. being able to tally them up afterwards)...

I'm guessing this is going to have to be yet another lookup to the K2 database...
 

3 replies

Forum|alt.badge.img+5
  • October 25, 2007

Would recording the serial number to a process datafield from within the client event be sufficient?


-mike


beckettj
Forum|alt.badge.img+5
  • Author
  • October 25, 2007

I thought of that, but what if there are multiple worklist items - it would mean using the XML data to record multiple pairs (e.g. "A became B", "C became D" and so on...)

I was hoping to find a way of doing this without changing the process definition itself. I'll have a dig around in the database - the history should turn up enough to figure it out after the fact.

It's a real pain though...

 


Forum|alt.badge.img+11
  • Nintex Employee
  • October 30, 2007

Question is: Why do you need the Serial number of the worklist item after a GoToActivity?


Is it just to action the worklist item?


Have you looked at the WorklistCriteria object yet?


Note:  The GoToActivity method call will be queued (AFAIK) and you may not be able to retrieve the worklist items IMMEDIATELY after the GoToActivity call.


Regards,


Ockert