Status of an actionexecuter from a DeclarativeActionScript

cancel
Showing results for 
Search instead for 
Did you mean: 
jamilnour
Established Member

Status of an actionexecuter from a DeclarativeActionScript

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
afaust
Master

Re: Status of an actionexecuter from a DeclarativeActionScript

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
Established Member

Re: Status of an actionexecuter from a DeclarativeActionScript

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