Execute WindowsWorkflows

Build 1501 on 14/Nov/2017  This topic last edited on: 26/Oct/2016, at 17:50

Workflows can be called from...

How to configure it

A menu entry

Browser

Menu section of gnpc_config.xml or gnpcint_config.xml

GN4 client applications

Menu section of Fred4_Tabitems.xml or Ted4_Tabitems.xml. See also Call WindowsWorkflows from client.

Back4 service

Add a FileWatcherConfig section in ServerConfig.xml or Back4Config.xml

Back4 queue

Load at the WF tab in the queue template.

Another workflow

Include a ScheduleWorkflow activity inside another workflow

VB.Net script

Dim result As GNClient.WFResult = TedApp.ClientApp().ExecuteWorkflow("wf=uploadExtDoc&Pars=editionId:" + Designer.ObjectId.ToString())

ExecuteWorkflowOnObjects(ByVal parameters As String)

ExecuteWorkflowWithConfig(ByVal parameters As String) As GNClient.WFResult

The workflow test page

Enter the URL: http://localhost/gnportal/test/wfTestForm.aspx.in the browser

A direct do.ashx post

Enter the correct syntax into the browser. This is rarely used, since the wfTestForm does this automatically.

See also

Passing values from a menu entry

Back4

Testing a WindowsWorkflow

and also

Calling WindowsWorkflows from client