versago:invoke_bizweaver_using_post

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
versago:invoke_bizweaver_using_post [2019/07/26 09:54]
runger
versago:invoke_bizweaver_using_post [2020/04/02 14:58] (current)
runger [Bizweaver Action Target String and Action Parameters]
Line 14: Line 14:
       - **2** if the invocation is (Save & Close or Save & New) from a standard button.       - **2** if the invocation is (Save & Close or Save & New) from a standard button.
     - **Service Type** is //**POST**//.     - **Service Type** is //**POST**//.
-    - **Action Target** as described below.+    - **Action Target String** and **Action Parameters** are described below.
     - **Action Trigger**     - **Action Trigger**
       - //Primary Action// if the invocation is from a custom button.       - //Primary Action// if the invocation is from a custom button.
Line 27: Line 27:
   - Click the [**Add/Update**] button to save the action changes.   - Click the [**Add/Update**] button to save the action changes.
   - Click the [**Save**] button to save the button changes.   - Click the [**Save**] button to save the button changes.
-  -  
-===== Bizweaver Action Target String ===== 
  
-The Action String to invoke a Bizweaver workflow using **POST* is shown below.+=====Bizweaver Action Target String and Action Parameters=====
  
-http:%%//%%<color #ed1c24>1</color>:<color #ed1c24>2</color>/BWService/api/workflow/InvokeWorkFlow+The **Action String** to invoke a Bizweaver workflow using **POST** is shown below.
  
-The elements in <color #ed1c24>red</color> are specific to your installation. The other items (included variable names used by Bizweaver) are **case sensitive**, so the easiest way to create the Action Target is to copy this string and paste it into Versago, then make the needed changes. You might also update the Bizweaver server information so that you will only need to change a few items.+  http://YourURL:YourPort/BWService/api/workflow/InvokeWorkFlow 
 +  https://YourURL:443/BWService/api/workflow/InvokeWorkFlow
  
-  - The server where Bizweaver is installed +  - "YourURL" is the URL used by Versago. 
-  - The port assigned to the Bizweaver web service when the application was installed.+  - "YourPort assigned to the Bizweaver web service when the application was installed.
  
 +"YourURL" and "YourPort" are specific to your installation.  An example of this string is:
  
-===== Bizweaver Action Target String Samples =====+  https://portal.acmecorp.com:443/BWService/api/workflow/InvokeWorkFlow
  
-  - Example using HTTP to port 8082 on server “TWBSTestserver.demo.com”, invoking workflow ID 10, and sending a value from form control name “vgoRecNum” to a Bizweaver variable named “vgoRecNum.” \\ \\ **http:%%//%%<color #ed1c24>TWBSTestserver.demo.com</color>:<color #ed1c24>8082</color>/BWService/api/workflow/InvokeWorkFlow?pTaskID=<color #ed1c24>10</color>&pStartAfter=0&pArguments={<color #ed1c24>vgoRecNum</color>:'<color #ed1c24>~5~</color>'}** \\ \\ +The **Action Parameters** define the Bizweaver workflow to be invoked, and any parameters to be passed.
-  - Example using HTTPS to port 443 on server “TWBSTestserver.demo.com”, invoking workflow ID 10, and sending a value from form control name “vgoRecNum” to a Bizweaver variable named “vgoRecNum.” Note that the only difference is the “HTTPS” and port number. \\ \\ **https:%%//%%<color #ed1c24>TWBSTestserver.demo.com</color>:<color #ed1c24>443</color>/BWService/api/workflow/InvokeWorkFlow?pTaskID=<color #ed1c24>10</color>&pStartAfter=0&pArguments={<color #ed1c24>vgoRecNum</color>:'<color #ed1c24>~5~</color>'}** \\ \\ +
-  - Example using HTTP to port 8082 on server “TWBSTestserver.demo.com,” invoking workflow ID 10, and sending two values; one from form control name “vgoRecNum” to a Bizweaver variable named “vgoRecNum” and a static value “TextString” to a Bizweaver variable name “vgoText.” \\ \\ **http:%%//%%<color #ed1c24>TWBSTestserver.demo.com</color>:<color #ed1c24>8082</color>/BWService/api/workflow/InvokeWorkFlow?pTaskID=<color #ed1c24>10</color>&pStartAfter=0&pArguments={<color #ed1c24>vgoRecNum</color>:'<color #ed1c24>~5~</color>',vgoText: 'TextString'}** +
-===== Versago and Bizweaver Complete Example =====+
  
-**Information captured on Versago Form**+Select the **Bizweaver** checkbox.
  
-{{::versago:formv2image102.png?576x32}}+Enter the Bizweaver workflow (task ID) to be invoked.
  
-**Configuration in Versago form button**+A row is created for each variable to be passed to Bizweaver. 
 +  Select the **Type** of variable to be used.  Options are //Dynamic// and //Static//
 +    * Dynamic refers to fields on the form and is the most common. 
 +    * Static is used when a value is the same each time Bizweaver is invoked from this form.
  
-This configuration can be applied on the [Save & New] and [Save & Close] buttons. It should not be applied on the [Save] button since you probably don’t want Bizweaver processing to occur until the user is finished with the input record. Also note that if you have both the [Save & New] and [Save & Close] buttons active, the configuration needs to be applied on both buttons.+  * Enter the name of the variable expected by Bizweaver.  This value is case sensitive and must match the value defined in Bizweaver exactly.
  
-{{::versago:formv2image103.png?384x415}}+  * Set the variable value to be passed. 
 +      * If the Type is Dynamic, select the form field to be used "Form Field" from the drop-down list. 
 +      * If the Type is Static, enter the value to be passed in the "Form Field."
  
-**Configuration in Bizweaver**+{{:versago:formv2image106.png?600|}}
  
-The values from Versago are captured in a Variables step at the beginning of the Bizweaver workflow. 
- 
-{{::versago:formv2image104.png?247x159}} 
- 
-{{::versago:formv2image105.png?384x285}} 
- 
-<WRAP center round info> 
-Note that the variable names in Bizweaver are the same, including case, as those being sent from Versago. 
-</WRAP> 
versago/invoke_bizweaver_using_post.1564149266.txt.gz · Last modified: 2019/07/26 09:54 by runger