AndreasSchwarzinger608619

GET_STATISTIC_DETAIL not up to date

Discussion created by AndreasSchwarzinger608619 on Dec 11, 2017
Latest reply on Dec 12, 2017 by Wolfgang_Brueckler_1288
hello

i have the following code example :

:set &parent_jnr# = SYS_ACT_PREV_NR()
:print &parent_jnr#
:set &parent_info#=GET_STATISTIC_DETAIL(&parent_jnr#,NAME)
:print &parent_info#
:set &time# = GET_STATISTIC_DETAIL(&parent_jnr#,START_TIME)
:print &time#
:set &time# = GET_STATISTIC_DETAIL(&parent_jnr#,END_TIME)
:print &time#

this ist part of a workflow, and i like to extrace some information from the predecessor.
the name and the job number are correct, but start and end_time are alwas empty - '0000-00-00 00:00:00'

why? any ideas?
what is the right way to get information about the predecessor?

Thank you for your suggestions
andreas

p.s.: I am new to this forum, please be forgiving my mistakes

Outcomes