Jump to content
Sign in to follow this  
Karen Silveira

SPEL - Get the latest approved wf task

Recommended Posts

Hi experts.

I would like to know if is there any way (by using SPEL code) to obtain the latest changed record. e.g. last_mod_date from last approved task from a change.

Can someone give some help on that?

Thanks in advance.

Share this post


Link to post
Share on other sites

hi

- you need to get the name of modification date attribute, this command should help:

bop_sinfo -a wf | find "DATE"

- call sync_fetch to get tasks list;

example:

- task by task compare modification date between fetched records;

OR

- using bop_sinfo get list of all domsets and maybe there is already presented sorted order by mod date, so you can use to it get the latest record.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...