Hi,
While querying a record data using a expression rule invoking a!queryRecordType from a Timer event results in the "ERROR:EVAL:@reason=Assignment in invalid location" error and Pauses the Process instance. The expression rule seems to work fine from other places like a script task. Please revert back if any solution is found for this or facing similar issues.
-Marimuthu S
Discussion posts and replies are publicly visible
Are you querying this record data inside script task? If yes, try to run the script task who ever designed the process form script task assignment section. If this is permission related issue this might resolve your problem.
Not a script task, but a timer event.The entire swim line is marked to "Run as whoever designed this process model"
You are querying data inside timer event? Why?
Needed as per requirement to be dynamic and based on another dependent data
I would suggest you to start a process everyday at 12:00 AM and inside your process add a script task to query your data based on your logic and store the results in process variable. After script task add a condition event which will wait until spur condition satisfices.
We have lot of alternates too, the query entity itself is working but was looking for a solution to use the "queryRecordType" feature for better performance. There were huge number of existing processes and hence not expecting alternates as it cost our QA time. Precisely, a solution to use queryRecordType over a sync enabled record in a start timer event is expected.