We're on the cloud version and running into a problem with activity chaining

We're on the cloud version and running into a problem with activity chaining (I think)

One of our requirements is to dynamically generate about 5 documents when the user starts a process. Two of these documents are using a process model loop to generate a document for each item in an array. Once the process model is complete it's supposed to show a page that lists all the documents for download.

The problem is the process model kicks the user out of the flow even though everything is activity chained, and the input task that has the documents for download can't be reached. We added an input task inbetween saying 'your documents are being generated' but the user can still click a 'continue' button before the documents are done and the same problem exists.

I'm thinking it could be because of the process model loop, or maybe there's more than 50 activity chained nodes taking the loops into account.

Is there some ki...

OriginalPostID-190072

OriginalPostID-190072

  Discussion posts and replies are publicly visible

Parents
  • @nickh Probably you can think of triggering the user input task and configure a button in the same, which checks for the existence of documents. If documents exists, then the interface begins displaying links else instructions can be surfaced to user stating that the document generation is under process.

    One more feature which can let the user know that the document generation is completed is, you can make the user Follow the Record either manually or programatically and then make a new post saying that the document generation is complete. This new post further notifies the user via email about the same. This way we can also avoid the long running process as well.
Reply
  • @nickh Probably you can think of triggering the user input task and configure a button in the same, which checks for the existence of documents. If documents exists, then the interface begins displaying links else instructions can be surfaced to user stating that the document generation is under process.

    One more feature which can let the user know that the document generation is completed is, you can make the user Follow the Record either manually or programatically and then make a new post saying that the document generation is complete. This new post further notifies the user via email about the same. This way we can also avoid the long running process as well.
Children
No Data