Hi,
I'm using ResourceElement within actions to log some informations that needs to be kept (not temp file, neither in cache)
Using Server.createResourceElement(resourceElementCategory, resourceElementName, null) which works fine.
The problem is when integrating thoses actions into a single workflow. Within the same workflow run, if the ResourceElement have just been created, I won't be able to retrieve them by parsing their ResourcElementCategory (using Server.getResourceElementCategoryWithPath(path))
is there a way to "flush" ResourceElement?
or am I doing something wrong?
Instead of using an action use a workflow and start it as an asynchronous or nested workflow.
What happens is that the resourceElement is saved when the workflow finishes.
I have opened feature requests to have this being improved in next versions of vRO.
Instead of using an action use a workflow and start it as an asynchronous or nested workflow.
What happens is that the resourceElement is saved when the workflow finishes.
I have opened feature requests to have this being improved in next versions of vRO.
Thanks for the info, it's working fine!