we have got a custom attribute based on Query lookup and we use this lookup in process in a Manual Action. For some custom resources it's OK but for some custom resources it's not working and the process goes to error.
The error in UI of Clarity is:
BPM-0519: Internal Process Engine Error. Contact your site administrator (Object wirh name 'thisIdea' refers to object 'idea' bound to the instance '5004000' is not found).
and in bg-ca.log is following:
Read of object: process instance ID: 50040007 returned: 0 rows
Clarity version is: 22.214.171.124
Please have someone met this problem?
Any ideas how to solve this?
Thank you in advance.
are you able to share the process or expand on what its purpose is?
Which object is it primarily based on?
primary object of the process is Idea object.
I'll provide here xog export of the process as well as the lookup query.
here is the lookup query:
where user_id in
( select user_id
from cmn_sec_user_groups ugr
left join cmn_sec_groups gr on gr.id=ugr.group_id
I'll also attach the process XOG export after I'll find out how to do it in this new community.
here is the process XOG export.
The purpose of the process is that after submitting idea for approval, this process starts and send notification/manual action to users in custom attribute based on the lookup above.
The error is very generic, will it be possible to attach the bg logs please.
there is not any message in bg logs
Is it possible that your query (in the lookup) does not return results for the data related to these "custom resources" and that is causing a problem in the process?
(just GUESSing obviously)
Hello David, thank you for your guess. I checked the query and the result which is returned and it seems to be OK. The query returns only members of one group and it really returns all of them and nothing more. You can see the query of the lookup above in this thread. Best Regards, Martin
I found where the problem was. Because of the process approves the idea after "approving" the action item by user, there is a need of the user to have right Idea - Approve All. After adding this right to the group which members are provided by the lookup the process works.
Thank you all for help and ideas.