Rpa - Lab 5 - N036
Rpa - Lab 5 - N036
N036 Sem 8
SVKM’S NMIMS
Mukesh Patel School of Technology Management & Engineering
Department of Mechatronics Engineering
AR-VR Lab
Subject- Robotic Process Automation
EXPERIMENT NO. 5
Objective: The objective of this procedure is to create a model-driven app for SkillSphere Learning, a
MOOC course company, to efficiently manage courses, instructors, and approval processes.
Material Required:
• Access to Power Platform environment
• PowerApps Studio
• Power Automate (Flow)
Scenario: SkillSphere Learning aims to streamline its course management process by implementing a
model-driven app. This app will facilitate the creation, approval, and publication of courses while
managing instructor details seamlessly.
Theory: Model-driven apps in PowerApps allow users to create sophisticated, data-centric
applications without writing code. These apps are built on a relational data model, where entities
(tables) represent different business objects, and relationships define how these entities are connected.
Procedure:
1. Create a Solution:
• Open PowerApps Studio and create a new solution named "SkillSphere Learning".
2. Create Publisher:
• Click on "New Publisher" and create a publisher using your name with initials as the
prefix.
3. Create Course Table:
• Create a new table named "Course".
• Add the following columns:
• Course Number (Single line text)
• Description (Single line text – Rich Text, max 4000 chars)
• Level (Choice: 100, 200, 300, 400)
• Subject (Choice: Arts, Business, Computing, Education, Languages,
Literatures, Music, Travel, Wellbeing) (Sync with global – yes (Name:
Subject))
• Course Approval Status (Choice: Approved, Rejected)
• Currently Offered (Yes/No)
• Instructor (Lookup - Related Table: Contact)
4. Auto-creation of Contact Table:
• Upon creating the instructor field, it automatically adds the Contact table.
• Add the following columns to the Contact table:
• Subject Taught (Choice)
• Hire Date (Date only)
• Staff ID (AutoNumber - Prefix: MPSTME)
5. Create Views:
• In the Course table, create a pre-defined view called "Active Courses".
• Add columns: Course Number, Course Instructor, Level, Subject, Currently Offered
Course.
• Apply filters: Status = Active, Currently Offered = Yes.
1
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
6. Create new form:
• In the course table click on form
• Click on New Form on the top
• And select main form
7. Drag Owner to Top Section:
• In the form designer, locate the Owner field.
• Drag the Owner field to the top section of the form for better visibility and
accessibility.
8. Change General Layout to 2-Column Form:
• Select the General section of the form.
• In the form properties, change the layout to a 2-column format for a more organized
presentation.
9. Add Fields to Left Column:
• Within the left column of the General section, add the following fields: a. Name b.
Course Number c. Currently Offered d. Level e. Subject f. Instructor
10. Add Description to 2nd Column:
• In the second column of the General section, add the Description field.
• Hide the label of the Description field from the properties menu to save space.
• Save the changes and publish the form.
11. Repeat for Instructor Form:
• Follow similar steps for customizing the instructor form:
• Remove unnecessary fields such as Account Name, Fax, and Map
Component.
• Ensure the General tab is a 3-column layout for optimal organization.
12. Add Instructor Info Section:
• Create a new section within the instructor form and name it "Instructor Info".
13. Add Fields to Instructor Info:
• Within the "Instructor Info" section, add the following fields: a. Subject Taught b.
Staff ID c. Hire Date
14. Add Courses Tab with Sub-Grid:
• Add a new tab to the form named "Courses".
• Rename the section to "Courses" and ensure it has a 1-column layout.
• Add a sub-grid to the "Courses" section and configure it to display related records.
Refer to the figure for settings.
15. Hide Header and Save:
• Hide the header from the form properties for a cleaner appearance.
• Save the changes and publish the form to apply the customizations.
16. Create Business Process Flow:
• Create a business process flow from new>automation>process> business process
flow and call it course approval and table would be courses table
• Define stages: Proposed, Approval, Publish.
• Add relevant fields to each stage.
17. Add Name and Instructor in Proposed Stage:
• In the proposed stage of the business process flow, add the following steps:
• Name: Add a step to input the name of the course.
• Instructor: Add a step to assign an instructor to the course.
18. Add Course Approval Status in Approval and Publish Stages:
• In the approval stage of the business process flow, add a step to set the course
approval status.
• This step should allow the approver to approve or reject the course.
• In the publish stage, add a step to include the course number for the published course.
2
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
• This step ensures that each published course is uniquely identified by its course
number.
19. Create Model-Driven App:
• From the PowerApps Studio, create a new Model-Driven App.
• Add existing tables: Course and Contact.
• Customize app layout and navigation.
20. Testing:
• Test the app to ensure all functionalities work as intended.
• Verify data input, approval process, and navigation flow.
Reference:
[i] https://www.youtube.com/watch?v=JtMKcvQcKNY
[ii] How to build your first model-driven app with Dataverse
[iii]Get started with model-driven apps in Power Apps
3
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
Column list
4
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
5
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
Course form
ASHISH MAKE
6
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
Instructot form
ASHISH MAKE
7
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
8
Ashish Make MBATECH CE (Mumbai)
N036 Sem 8
ASHISH MAKE
Ashish Make