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
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.
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.