Hi Michael, Thanks for your reply!
Ok.
The problem is that we have a process that send an email to someone on the company saying they need to approve something. And when the user does approve the request PAM is continuing sending notification emails.
And we cant figure out whats the problem so I have created a separate process that looks in the database if we are having any "Email-sending-processes" running when its already approved and the parent process has completed.
Right know I am using substring in the C2ORuntimeObjectsArch.Instance to get the request ID. Not best practice I understand but I have to do this since our customers are getting emails that they need to approve requests when they dont need to, thay are already completed.
So I would like to replace my substring part with a join to a table that contained the parameter.
Hope you understand my problem. If you have any suggestion, please let me now!