Objective
...
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_UserInputForm.
...
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 Addbutton.
Double-click on Person1 and rename it to TargetPerson.
...
Now expand the TargetPersoncomponent and drag and drop the following fields/columns on the Form Designer.
FirstName
Last Name
Company
PrimaryOrgRoleOrgZoneID
Password
...
Now double-click on Tab1 and rename it to Person Info, then double-click on Tab1 Section1 and give it the name About, then double-click on Tab1 Section 2 and give it thename Company Details. Lastly, double-click on FirstName and LastName fields and put a space between them.
...
Now right-click on the Password text box, and from the menu, click on Edit.
...
Field configuration dialog box will appear. Click on the Control Types tab and select Password Confirmation and click on the Ok button
...
Now right-click on the PrimaryOrgRoleOrgZoneID, and from the menu, click on Edit. A Field Configuration dialog box will appear, go to the Control Types tab and select the OrgRoleOrgZone picker and Click on the Ok button.
...
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 Workflows folder right-click on the Applications folder, hover your mouse on the New Workflow option, and Click on Flow Chart Workflow.
...
Wait for the Workflow Designer Pane to be loaded. Once loaded, click on the save button to save your workflow.
...
Give your workflow a name, in this case, Training_CreatePersonWF.
Once saved, drag and drop your Form activity onto the designer pane of Workflow.
...
Keep the activity selected. If not selected, then select it, and on the right-hand side, change its (Name) property to UserCreationForm.
...
Now drag and drop CreatePersonOperation activity onto the designer pane.
...
Keep the Operation Base Activity selected and give it the name CreatePersonInEmpowerID. In the description type Create Person
...
in EmpowerID.
...
Right-click on the CreatePersonInEmpowerID activity and select Enable/Disable Executing Operations.
...
Move Create from Disabled Operations to the Enabled Operation section.
...
Now drag and drop the ApplyNamingConvention activity onto the designer pane.
...
Give it a Name for example APAForUsers.
...
Now click on the start circle, drag the line from it, connect it with your APAForUsers activity, and similarly connect the lines that will come out from your activity to the CreatePersonInEmpowerID activity to the End circle.
...
Now go to the Bindings tab, and from the left section, expand the UserCreationForm Underneath it, expand the Input/Output anddrag its TargetPerson and drop it onto the TargetPerson of APAForUsers.
Now expand APAForUsers from the left section, expand Input/Output and drag the TargetPerson and drop it on the Form_TargetPerson property of CreatePersonInEmpowerID. You can find the Form_TargetPerson property under the Input.
Now click on the publish button to publish your workflow; a dialog box will appear. Click on the Next button twice. Once saved successfully, click on the Ok button.
...
Open internet explorer or Edge or whichever browser is installed on your machine and go to this URL: Login using EmpowerID (empoweriam.com)
It will ask you to enter your credentials and provide them with your username and password given to you by your lab instructor.
...
It will take you to your EmpowerID dashboard page. On the left-hand side, click on Low Code/No Code Workflows, and Underneath it, click on Low CodeWorkflows.
...
It will take you to the RequestWorkflow page; on the right-hand side of your page, we have an actions pane under it click on the Publish Workflow Studio Item.
...
On the PublishWorkflowStudioItem page, click on choose file, select the .pub file for Training_UserInputForm and then click open file, and it will get selected now click on the Submit button.
...
You will get this message which tells that deployment is successful.
...
Now click on the Publish Workflow Studio Item again, and this time select the Training_CreatePersonWF published file and hit on the submit button to publish it.
Close your browser and workflow studio and reset the IIS on your machine. Make sure you open Command Prompt in Administration mode.
...
Now open the EmpowerID on the browser again, expand the Low Code/No Code Workflows, and Underneath it, click on Low CodeWorkflows.
In the search box, type your workflow name Training_CreatePersonWF and hit the search button. Your workflow will appear, click on it under the Run column.
...
Now, you can see your Form, fill out the fields, and test it.
...
End