Is there a way (or will be) to run a subprocess synchronously, containing a user task , passing pmid as a parameter?
We would like to be able to execute a subprocess call in that way, passing the pmid as a parameter to control the flow of the process from, for example a Decision table.
Discussion posts and replies are publicly visible
There is no direct way to trigger a process that way. Depending on how many choices you have, a dispatching model might implement the logic to branch off a sync process depending on conditions.
Thx Stefan, we made a quick search, and realize that there was no option actually.
Do you know if the feature will be available in next versions? I think that it could be a great improvement in the platform.
On the other hand, if this is not planned, do you know if it can be implemented via Appian API creating a new smart service? I think that it would only be necesssary to locate the actual implementation of the call subprocess smart service, but we don't really know where is actually located.
Unknown said:Do you know if the feature will be available in next versions?
There's no way to say for sure, but I can fairly confidently say there's absolutely no reason to expect such a thing to just turn up in any of the 24+ versions. The various subprocess launching mechanisms in place already are sufficient for >95% of use cases (even being stingy with that estimate) and I have not seen any particular demand for such a thing.
Unknown said:do you know if it can be implemented via Appian API
An API call can already be used to launch a process, but it still wouldn't be synchronous.
If your use case absolutely requires the synchronous flow, the only thing I can think to suggest is that you can just call a handler subprocess that branches to the different possible child processes (synchronously). If you didn't require synchronous (chained) process flow then it would be even easier, since you could just use the Start Process Node.
The future is one of the hardest things to predict
What do you try to achieve?