• 29 August 2017
  • 4 replies

Can you execute a go-to-activity from a SmartForm? Cannot find any out of the box smart objects for it. Thanks

4 replies

Currently, this functionality does not exist in SmartForms via ootb control or rule.  If you would like to log this as a feature request to be ootb, consider logging it at:

However, this may be possible with a Community Project available at:

I believe this is a service broker in which you can surface a SmartObject that will have the Go To Activity method exposed; the SmartObject can be called in SmartForms.

Please know that as this is a custom broker, K2 Product Support will not be able to provide assistance should there be any issues/bugs with the broker.  Please thoroughly test prior to implementation in a live environment.


Badge +3



we have exposed GoToActivity as smart object and tried to execute with admin access.


thrown exception as unauthorised. let me know if this is the case, how to use GoToActivity smart object and can be utilised in smart form. we are looking no code based solution. keep posted us asap.  


your affirmative response makes us productivity.




Userlevel 3
Badge +6
Dear all,
Warning:  we have encountered a problem with GoToActivity (K2 Five 5.1 to 5.4 at least)
Following the use of the go to activity inside a Split/Merge the workflow stops at the “Merge” step next. Issue appears with Go To Activity from Management site with K2 Five new designer (Split and merge was not possible in K2 Studio).
The issue appears too with Process Version Migration Utility:
At the same time, I asked to an impacted customer to create 2 K2 Ideas created in order to maximize the chances of having actions taken on this subject which can be blocking.
I therefore invite you to vote on these K2 ideas:
Fix issue: after go to activity, the workflow stop at the next merge step.
Add warning message in case of use of Go to activity from Management site to avoid important issue with split branches.
Please vote on them and don't hesitate to transfer to your colleagues who have a K2 account: For a K2 Idea to possibly be considered, you need at least 20 votes.

In addition, a normal behavior to know is the following:
If there are several activities in progress on the same instance of worklfow and that one uses the GoToActivity on any activity,
all the activities are finished and it does not will remain more than that specified by the Go To Activity.
However, it is possible to do a Go To Activity for a specific activity via the API.
This functionality has been implemented in the Workflow Management:
With this tool, we have possiblity to specifiy the "FromActivityName".
SmartObject service tester++ URL (
SmartObject ExplorerDefaultSmoTask_managementMethodsGotoActivity -E ProcInstID=123;FromActivityName=Task1;ActivityName=Task3
Best regards,