In related action , after submitting a form ,the form must gets closed and it must enter details in db but after submitting the form it is not updating the details in db and the form is not getting closed can someone please with this
Discussion posts and replies are publicly visible
ZAINAB said:the form is not getting closed
Hmmm, even if is gets submitted, the data will not get updated automatically.
Why it's not getting closed, Do you see any error? or any info in logs?
ZAINAB
Can you please provide the details I asked for? Are there any process instances running for this when you hit that button?
A couple of issues:
- You seem to be saving most of the data in a local variable. In the end, you save it in the test_requests rule input which I am unsure what you are doing with. I would suggest that you save the form fields directly in the rule inputs for simplicity's sake. Otherwise, you can load the data in a local variable, save the form fields in the local variable and then save the contents of the local variable back into the rule input on the submit. You'll also have to change your local!getdata to a refreshVariable with refreshAfter set to RECORD_ACTION.
- You also don't seem to be writing anything in the database in your process.