Objective
Create a workflow that gives us the ability to edit the properties of a Person in EmpowerID
User ID: Test
Password: P@$$w0rd
Start the 20331B-NYC-DC-05 virtual machine. Wait for the virtual machine to display the Desktop.
On your Desktop, Right-click on Workflow Studio (WFS), and then click Run as administrator.
Wait for WFS to start and enter your credentials.
In Solution Explorer, right-click on the Developer Packages folder, create a new folder called “DemoLabs” and click the Ok button.
Add New Folder dialog box will appear from it; select the following options.
User Interface > Lookup Control
User Interface > Forms
User Interface > UI Pages
Workflows > Applications
And click the Ok button.
Expand the Developer Packages folder, find the DemoLabs folder, expand it under the DemoLabs folder, expand the User Interface folder right-click on the Forms folder, hover your mouse on the New User Interface option and Click on Form.
Wait for the Form designer to be loaded.
Click on the Save button to save your Form and give it the name Training_EditUserForm.
Right-click on the Form Data, then click on Add Object and go to Rbac Components tab. From there, select the Person component and click on Add button.
Double-click on Person1 and rename it to ObjectivePerson.
Now expand the ObjectivePerson component and drag and drop the following fields/columns on the Form Designer.
FirstName
Last Name
Street Address
City
Postal Code
Now double-click on Tab1 and rename it to Person Info, then double-click on Tab1Section1 and give it the name Person Information, then double-click on Tab1Section2 and give it the name Address Information. Lastly, double-click on FirstName and LastName fields and put a space between them.
Now right-click on the First Name and Last Name text box one by one and set the IsReadOnly property to true.
This is how your final form will look like
Now click on publish button to publish your Form. The publishing dialog box will appear. Click on the Next button twice to Publish the Form.
Once published successfully, click on the Ok button
Now, it will ask you to restart the workflow studio. Click on the Yes button.
Expand the Developer Packages folder, find the DemoLabs folder, expand it under the DemoLabs folder, expand the User Interface folder right-click on the Lookup Controls folder, hover your mouse on the New User Interface option and Click on Lookup
Wait for the Lookup designer to be loaded.
Click on the Save button to save your Lookup and give it the name LK_Person.
From the Component Object, select PersonView, and from the Data Method, select the GetAllSearchAdvanced method.
Click on the Lookup Designer from the top bar and select the New Column option.
11. The field Selector dialog box will appear in the Label field type First Name, and in the Field Name, select the FirstName and click on the Ok button.
12. Repeat the above process for the following fields as well
Label: Last Name Field Name: LastName
Label: Login Field Name: Login
Label: Email Field Name: Email
Label: Department Field Name: Department
Now click on publish button to publish your Lookup. The publishing dialog box will appear to click on the Next and then Next button again to Publish the Lookup.
Once publish successfully click on the Ok button
Now it will ask you to restart the workflow Studio, click on the Yes button.
Expand the Developer Packages folder, find the DemoLabs folder expand it under the DemoLabs folder, expand the Workflows folder right click on the Applications folder, hover your mouse on the New Workflow option and Click on Flow Chart Workflow.