Version 2025.1
For details and updates associated with this version of the app, see the App Catalog Changelog.
Introduction
Employees can request a corporate credit card which will be issued in real-time by Stripe.
Deploy Instructions
Click to Deploy (Recommended)
- Click the “Create Copy” button above.
- To modify app source code:
- Open the app in the Console.
- Click Open in App Builder.
- After making any changes, Save and Deploy.
Prerequisites
- Install Workday Extend Plugin for IntelliJ.
Setup
Configure the App
Create an ISU
- Login to your tenant as Logan McNeil (lmcneil)
- Navigate to the task Create Integration System User in your tenant.
- Name this user
Default_ISUNOTE: The ISU name MUST be the exact name above, including underscore, if you are going to deploy this app to your tenant with no changes to the Orchestration (recommended). - Set a password for this user. You will need to remember this for later steps, as we will be setting up the ISU authentication type.
- Click the *OK button.
Create an Integration System Security Group
- Navigate to the task Create Security Group in your tenant.
- Type of Tenanted Security Group:
Integration System Security Group (Unconstrained) - Choose a name for this group. Example:
ISSG Request Credit Card - Choose the Integration System User
Default_ISUfrom the drop-down list. - Click the OK button.
Create the ISU Authentication Type for the App
- Follow the instructions here to setup the ISU Authentication.
NOTE: When creating your API Client, please use the scope
System, as this is the only one needed.
Security
Model Components: Domain Security Policy
You can access App Manager within your tenant by doing a search for App Manager and choosing the task, or by clicking the Manage App button within IntelliJ after deploying your app to a tenant.
-
Navigate to App Manager. Choose Configure on your Request Credit Card app.
-
In the Model Components section, locate the Security Domain
Manage: Credit Card Requestsand click Create in the Domain Security Policy column. -
Check
Confirmand click OK. -
Add the following Security Group to
Report/Task Permissionssection of the Domain Security Policy:Modify :
ISSG Request Credit CardEmployee as SelfCredit Card AdministratorManagerHR Administrator -
Choose the OK button at the bottom of the screen, then Done.
Model Components: Business Process Security Policy
-
Navigate back to App Manager.
-
Locate the
Request Credit CardBusiness Process in App Manager (at the bottom of the screen) and click the Edit button in the Security Policy column. -
Configure the Business Process Security Policy with the following permissions:
Initiate Request Corporate Credit Card:
Employee as SelfView All:
Employee as Self,Credit Card Administrator,ManagerApprove:
ManagerDeny:
Manager -
Click the OK button at the bottom of the screen.
-
Navigate to the task called Activate Pending Security Policy Changes.
-
Put in a description for your security changes, then choose the checkbox, then OK to activate the new security.
-
Navigate back to App Manager.
-
Locate the
Request Credit CardBusiness Process in App Manager (at the bottom of the screen) and click Create in the Business Process Definition column. Click OK. -
On the Edit Business Process screen under the Business Process Steps tab, choose the circular
+button to add 2 steps to our BP:Order:
bType:
ApprovalGroup:
ManagerOrder:
cType:
ServiceSpecify:
Orchestration Service -
Click the OK button.
-
On the next screen, choose the Configure Orchestration Service button on the Steps list. Choose OK on the next screen.
-
Select the option Launch a new Orchestration and browse for the
RequestCreditCardOrchestrationoption associated with your app. -
Check the Advance business process step when orchestration completes checkbox.
-
Click OK.
-
In the Orchestration Data table, in the row with the
actionEventkey, in the*Valuecolumn, selectValue from Fieldand search forWorkday ID. There will only be one result; its Business Object will be Default Business Object. This returns the WID of the Action Event associated with the Business Process, and lets our BP-Triggered Orchestration look up details of the Business Process that is in progress, as well as the requester and the Credit Card Model Business Object.
Security Setup for Users
- In your Development tenant, search for the
ISSG Request Credit Cardsecurity group. - Find the
ISSG Request Credit CardSecurity Group in the search results, and then click the OK button. - From the related actions menu, navigate to
Security Group>>Maintain Domain Permissions for Security Group - Provide
VIEWaccess for theWorker Data: Staffingdomain. This will allow the ISU to make a WQL call in the Orchestration. - Provide
GETandPUTaccess to theSet Up: Credit Carddomain. This will allow the ISU to make the SOAP call that assigns the credit card. - Click OK.
- Provide
VIEWaccess for theWQL for Workday Extenddomain. This will allow the ISU to make a WQL call in the Orchestration. - Activate your security policy changes using the
Activate Pending Security Policy Changestask.
Running the App
Request a Credit Card
- Log in to the Development tenant with lmcneil
- Navigate to your new task (either My Credit Card Requests using related actions off of the Worker or Manage Credit Card Requests in the search bar)
- Choose the Request Credit Card button.
- On the next screen, put in any amount you would like to request that is under $100k.
- Put in a business reason. This will be sent to the manager for reference.
- Next, it should take you back to the main app screen.
- Log out of the tenant with this user.
- Sign back in to the tenant or proxy as user
jbanks(Joy Banks). - On the top-right of the screen, choose the Inbox icon.
- You should see a new notification for Logan requesting a credit card. Verify that you can see the
Requested Credit LimitandBusiness Reason. - Click the Approve button.
- Log out of the tenant.
- Log back in as Logan (
lmcneil). - Click on Logan’s profile picture at the top of the screen, and choose View Profile.
- On the left-hand navigation of Logan’s profile, choose Company Property.
- On the Credit Card tab, you should now see Logan’s new Stripe card.
- Navigate back to the custom task My Credit Card Requests.
- You should now see the new card on this screen as well.