How to invoke other activities inside "Invoke Code" activity?

Something like this should work in code activity (did not test). Also not sure if it effects the existing workflow process since we are invoking sub activity. Folks who are using 2017.1 can confirm.

click = new Uipath.Core.Activities.Click()
click.Target.Selector ="<html title='Tryit Editor v3.5' /><webctrl aaname='Click me' tag='BUTTON' type='submit' />"
click.ClickType = ClickType.CLICK_SINGLE
activity = new WorkflowInvoker(click)
activity.Invoke()
1 Like