Client action is not getting called using javascript

Hi ,

We have called a client action using javascript, first time when user  landing into the screen it's working fine, but next time onwords the client action is not getting called, attached the service center error below.

I did some work around but unfortunately didn't found any proper solution.

Can someone help us on this please?

IMG_20211123_132852.jpg

mvp_badge
MVP

Hi Rajendra,

Are you sure that the action is not called again? because the error message you shared is more related to the fact that you navigated away from a screen while the action is (about) to execute.

Regards,

Daniel

Thanks a lot Daniël Kuhlmann, 

Yes we are calling it again.

We have a button in screen to perform some operation and that action is called inside a javascript.

When user comes in the screen 2nd time and clicks on the button, the client action is not getting invoked.

But when we refresh the screen it works fine. Looks like the screen action is not getting initialised, second time onwords.

IMG_20211123_171227.jpg

mvp_badge
MVP

Hi Rajendra,

Can you share the sample oml with your scenario, do not share the original application oml if it's confidential but if u can replicate the same scenario in dummy app then it will easier to understand why action is not triggering.

Regards,

Manish Jawla

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.