Hello Community,
I am not getting Data in properties of Process Model.
I am trying to update the record but before Updating I am checking the record in properties It`s Not showing the record.
Any One give me suggestion
Discussion posts and replies are publicly visible
Hi,
Can you share your code or screen shot how you are querying data based on empId and saving into associated process variables. I suspect your query returning data subset that may be the reason your data is empty.
Hi nitinn0004, you mean , you querying the data before updating it, right? if yes , are you storing query result? if possible , can you share script task node configuration?
These is the configure of script task. I want to update details through these.
Can you send code for getEmployeedetailsByID query rule, I am suspecting these query rules may return data subset as a result. Share your one of your query rule code which may help to resolve your issue
Are you using paging info in all those expression calls? I yes, did you use .data for the data you want to store?
These all are querying that I had made and then after
I created New Process Model and from there I want to update data through form from the model.
No, I am not using .data for taking only data records
It looks like the query returns Datasubset. You need to use .data when you call the expression rule in your script task.
Yes, my assumption is right. Your query returning datasubset. To fix this issue at the end of line no 25 add .data
ex:
a!queryEntity( entity: yourentity, query: a!query( logicalexpression: your expression, ), fetchtotalcount: false ).data