Overview
You can bind a text box field to a global list so that when a user selects an item in a drop-down list, the text box field is then updated with the corresponding value from another column of the global list. In the following example, the list contains TASK_ID as the value and the text box contains the description.
Solution
- 
On the Databind tab, create a drop-down list bound to a global list. 
  
- 
On the Custom attributes tab, call a method on the OnSelectedIndexChangedevent and set theautopostbackevent totrue.
  
- 
Create a text box with the ID DESCRIPTION.
  
- 
In the .NET code, add the following code to bind the text box to the global list on the SelectedIndexChangeevent:
private void Task_OnSelectedIndexChanged(object sender, EventArgs e)
{
  WorkflowGen.My.Integration.GlobalLists gl = new WorkflowGen.My.Integration.GlobalLists();
  System.Data.DataTable GLOBAL_LIST_DATA;
  GLOBAL_LIST_DATA = gl.fetchList("GLOBAL_LIST_DATA", "DESCRIPTION", "en-US", "TASK_ID","Equals",REQUEST_TASK_ID.SelectedValue,true);
  REQUEST_DESCRIPTION.Text = GLOBAL_LIST_DATA.Rows[0]["DESCRIPTION"].ToString();
}
Sample process
- 
Download BINDING_FEATUREv1.zip (the process definition), unzip it, and import it into WorkflowGen as a new process. 
- 
Download GLOBAL_LIST_DATA.xml.zip (the global list), unzip it, and import it into WorkflowGen as a global list. 
- 
Open the BINDING_FEATURE v1 process and click Test. 
- 
For Existing Project?, click the Yes radio button, and select a Project Name from the drop-down menu. 
- 
For Update existing task?, click the Yes radio button, and select a Task ID from the drop-down menu. 
You’ll see that the rest of the fields will automatically be filled with the corresponding information from the global list.