cancel
Showing results for 
Search instead for 
Did you mean: 

Is Workflow Appropriate Solution

vbfischer
Champ in-the-making
Champ in-the-making
I have a long running task that a user will be able to kick off from a document in the web browser. Since this process can take around 20 minutes to complete, I want this to be an asynchronous process. Just for context, these are the steps:

1. User kicks off a publish process
2. Process performs some action on the document, retrieving child documents, and running a transform on them (in this case, the DITA Open Toolkit to generate PDF).
3. If successful, create an association (from an aspect) to the original document.

(I'd also like the user to know what state the process is in..)

All I really want to know is anyone thinks Advanced Workflow is the best option here. I'd like for the user to be able to click an icon on the document browse screen (or even the More Actions menu), but really haven't come across any documentation on this (or if I have, I didn't understand it).

Thanks
Bryce
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Another choice is an async action.

What drives the choice between using actions or workflow is whether there is any "worlflow" involved.    It sounds to me like your case would be better handled by an action.

vbfischer
Champ in-the-making
Champ in-the-making
Thanks for the quick reply.

I had a feeling that's what would be suggested… I had thought about that before, but somehow missed the ExecuteAsynchronously attribute.

Thanks