Not sure where i went wrong, gets below error, i understand error says i cannot use rule inputs in a!save, any suggestions to fix it:
Discussion posts and replies are publicly visible
Hi tanujd6440 ,
First save your result in the local variable and use save with local, e.g., a!save(local!TR_Expense_details.hrApproval, now()), and then save this to the rule input a!save(ri!TR_Expense_details.hrApproval, local!TR_Expense_details.hrApproval).
This would not solve the problem.
When using the index() function for passing fields in variables to rule inputs, index() returns a copy of the data instead of a reference. Then this exact error happens.