This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="flexipage:availableForAllPageTypes,force:hasRecordId,force:hasSObjectName" access="global"> | |
<aura:attribute name="sObjectName" type="String" /> | |
<aura:attribute name="url" type="String"/> | |
<aura:attribute name="hostName" type="String" /> | |
<aura:attribute name="showOpenButton" type="Boolean"/> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/> | |
<aura:attribute name="urlClassic" type="String" default="{!v.url+v.recordId}" /> | |
<br/> | |
<div align="center"> | |
<aura:if isTrue = "{!v.showOpenButton}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Written by: Katharine Anderson | |
Last updated: 04-18-2019 | |
Purpose: This is the controller behind the ApprovalProcessPreview visualforce page (which has lightning | |
styling in Lightning and classic styling in classic). | |
Workflow: Allow the approval process submitter to click the new 'submit for approval' button when | |
they're ready to submit. They will then see who the assigned approvers will be. If it doesn't meet | |
any entry criteria, then they would be able to go back and fix it instead of getting the standard | |
error message, which is generally not helpful. This also gives them the opportunity to change who |