Process
Builder:
Process builder also allows us to automate the organization’s
business processes quickly without writing any code.
Process builder supports three types of processes for
automation needs:
- A record Change – Process starts when a record is created or
updated.
- A Platform event occurs – process starts when platform event message is
received.
- It’s invoked by another process – Process starts when
something else, like another process, invokes it.
With process builder we
can :
- Create a
record of any object type.
- Update
any related record – not just the record or its parent.
- Use a
quick action to create a record, update a record, or log a call
- Invoke a
process from another process
- Launch a
flow—you can’t schedule this action with workflow
- Send an
email
- Post to
Chatter
- Submit a
record for approval
- Call apex
class or flow.
- Send
custom notification
- QUIP- Create
documents, chat rooms, and folders when important events occur.
Note : we can create more than one process builder for an
object but it is best practice to use one process builder and define multiple
processes using conditions.
How can we create time dependent or Scheduled action in process builder?
There
are two ways in which we can setup scheduled action in process builder
- OPTION 1
: When object selection for process builder select “Only when a record is
created”
- OPTION 2
: When object selection for process builder if you select “when a record
is created or edited” then on the criteria selection either select
“conditions are met” or “Formula evaluates to true” along with Advanced
option selection “ Do you want to execute the action only when specified
changes are made to the record?”
What is the minimum time we can set to trigger the time dependent
actions?
We can set minimum of 1 hours to trigger the time dependent
action. This is same for process builder and workflows.
What if we want to trigger the time dependent action after 30 minutes?
It is directly not possible but you can
trick salesforce to achieve it.
Example : Create a formula field that
evaluates to datetime and write the formula as current datetime
minus 30 minutes. Then create a time dependent workflow that fires 1 hour
after the newly created formula field
What are process versions in process builder?
When we first create a process in the process builder it will
create it as version 1 and if we modify the same process later then it creates
the new version of the process each time we modify the process.
No comments:
Post a Comment