Hello,
I am using PU_LAST to find the last activity in each case to find the user.
PU_LAST ("OCH_Cases", "OCH_Activities". "User_Group_NAM")
But now I always want to find the second to last activity. How could I do that?
Thank you
Regards,
Rene
Hello,
I am using PU_LAST to find the last activity in each case to find the user.
PU_LAST ("OCH_Cases", "OCH_Activities". "User_Group_NAM")
But now I always want to find the second to last activity. How could I do that?
Thank you
Regards,
Rene
ACTIVITY_LAG(PU_LAST ("OCH_Cases", "OCH_Activities". "User_Group_NAM"))
or something like that
HTH
Hello. Thank you for your suggestion. Unfortunately, this does not work because "OCH_Cases" is not an activity table.
Do you have another idea to solve the problem?
Hello. Thank you for your suggestion. Unfortunately, this does not work because "OCH_Cases" is not an activity table.
Do you have another idea to solve the problem?
Hello. Thank you for your suggestion. Unfortunately, this does not work because "OCH_Cases" is not an activity table.
Do you have another idea to solve the problem?
If you need to find all the activities except for the first one, I would suggest to just print all of them, and then add a filter statement like activity != PU_FIRST(blabla)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.