Objective
Develop a workflow that enables users to modify individual attributes, manage group affiliations (including addition and removal), and assign individuals to a management role.
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 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
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 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 DemoPersonSingleLookup.
On your lookup control set following properties
Component Object: PersonView
Data Method: GetAllSearchAdvanced method which has resourceTag as a parameter.
Decisions: Next
Set Grid Type: Person
Type: Single
Publish your Lookup Control.
Create a form and do the following configurations on it.
Sections: Add three sections (Name, Organization, Advanced)
RBAC Components: Person (rename it to TargetPerson)
First Section (Name): Drag these fields FirstName, LastName, Description
Second Section (Organization): Drag these fields Company, Department, ValidUntil
Third Section (Advanced): Keep it empty for now.
Approval Decision: Next
Right click on the Description field and click on the edit option and go to the Control Types tab and select the MultiLineTextBox option. Checkmark the Is Double ColumnSpan option and Click Ok.
Right click on the ValidUntil field and click on the edit option and go to the Standard Properties tab and set the following properties.
Min Date: 15 -----> (It implies that the earliest selectable date from the calendar control will be 15 days beyond the current date.)
Max Date: 30 -----> (It signifies that the maximum selectable date from the calendar control is set at 3 months beyond the current date.)
Default Value: 90