Business Logic & Process Automation II Flashcards
Where can the manager be configured as an approver in an approval process?
On the user’s record detail page, by populating the ‘Manager’ field under ‘Approver Settings’
What actions can be added to the approval steps?
Field Update, Email Alert, Create Task, Outbound Message
When would an approval process be used?
When there is a need for an advanced workflow that requires input from users for approving or rejecting records
When are workflow rules evaluated?
When a record is created, when it is created and every time it is edited, and when a record is created and any time it is edited to subsequently meet the evaluation criteria
Are workflow rules fired before or after triggers and validation rules?
Workflow rules are fired after validation rules and triggers.
What is the difference between assigning the default record type at the profile level or as a user setting?
If a default record type is assigned in a user’s profile, the user is prompted to select it while creating a new record. If it is assigned in the user’s personal settings, it is selected automatically.
What are the actions that a workflow rule can invoke?
Create a Task, Send Emails, Field Update or Send Outbound Message
What actions are possible with Process Builder?
Create or update records, submit approval requests, post to chatter, send emails, notifications or survey invitations, and invoke a quick action, flow, Apex class or another process.
How can workflow rules be evaluated?
If certain criteria are met or if a formula evaluates to true
How can flows handle errors?
The FAULT flow, which branches from the main flow, can be used to handle unexpected errors and display an error message.
What are the capabilities of a flow?
Query, Create, Update, Delete Records. Branch, Pause, Get Input, Display Output, Show a series of screens, Perform Actions (Quick, Email and Static)
Which options are available to run a record-triggered flow automatically?
A record-triggered flow can run automatically when a record is ‘created’, ‘updated’, or ‘created or updated’.
What is a subflow?
It is a flow that is called from another flow.
Can process builder have time-dependent actions?
Yes, if a process is configured to only run when created. Or, when a ‘record is created or edited’ and the option to execute the actions only when specified changes are made to the record is enabled.
When are workflow actions executed?
Either immediately or after a number of days or hours from a date field or trigger date