Skip to main content


 

Symptoms

 


Using a SmartForms Client event, as part of the wizard there is option to ‘Transfer Process Data to Form’ for which we want to send 2 pieces of process data so they are visible in the SmartForm.
How to transfer the process data to be visible in the SmartForm?
 

 

Diagnoses

 


 The client was provided the following steps to best configure the Wizard for this purpose as follows:

1. Create a View with a textbox control.
2. Generate a Form from it.
3. Create a workflow process and drag a SmartForms Client Event onto the canvas. Select the form you previously created (I also used the base state). Skip to the Transfer Process Data to Form window and click Add. As a Form Field (Destination) select the Text Box control from the Controls folder of the form and as a Process Data Field (Value) select the data field from the Process/Activity Data Context Browser(you have to manually create that by right clicking and selecting Add). Finish the Wizard as it is and deploy the workflow.
5. Go back to the form and double check that the Form initialize rule is configured as follows:
When the Form is Initializing
if the current Workflow Activity is DefaultActivity
then open the DefaultActivity worklist item (configure)
5.1. Click on (configure) here and just NOTE how here on the Output Mappings tab the InputField is mapped to the Text Box control.
6. Go to workspace and start a new instance of the process. Select the Load Data Fields button and put some text into the Input Field.
7. Go back to workspace and open the task - you can now see the text you inputted in 6. populated in the Text Box field.
 

 

Resolution

Resolution:
The above steps helped the client to go ahead and find out that in his one of the 'Form Initializing' rule was corrupted.
Removing and recreating the rule solved the issue.

 

 



 
Be the first to reply!

Reply