cancel
Showing results for 
Search instead for 
Did you mean: 

Status of an actionexecuter from a DeclarativeActionScript

jamilnour
Star Contributor
Star Contributor

Hello,

Can a DeclarativeActionScript knows the status of an ActionExecuter?

The ActionExecutet is called Asynchronously from the DeclarativeActionScript and I want to hold using a timer until a certain status received

Everything is called from a java back-end

Any idea or sample is very appreciated

Thanks

Jamil

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator

There is no such thing as a DeclarativeActionScript - you probably meant to refer to DeclarativeWebScript. There is no way to get the status of an asynchronous action using public API. There is an internal API ActionTrackingService which can be used provided the action allows tracking, but usage of internal APIs is typically not recommended.

Also, why are you executing the action asynchronously when you need to wait for a response / status? Call it the normal way and wait for it to complete.

jamilnour
Star Contributor
Star Contributor

Yes, it is DeclarativeWebScript

You are totally right about why calling the action asynchronously but the reason I am doing that is explained in my previous post which I did not get any answer:

 

It works only when calling it as actionExecuter asynchronously

Can you please read it and tell me what do you think?

I just edit it to better explain the problem

Jamil