Pete Wirfs

V9, getting RUNID for running task (FYI)

Discussion created by Pete Wirfs on Jan 3, 2014
Latest reply on Jan 6, 2014 by dwight_dick_automic

I had been using SYS_ACT_ME_NR() to get the RUNID for a running task, but I have discovered I really want to use SYS_ACT_RESTART_ME_NR().  These two functions return different values when you are doing a restart.

I wanted to share this because it is a very subtle difference, and can be critical to the proper handling of task restarts.

Pete

Outcomes