03-09-2018 05:27 AM
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
03-11-2018 06:21 AM
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.
03-11-2018 07:36 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.