Loading
Salesforce now sends email only from verified domains. Read More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          State Actions vs. State Rule Actions

          State Actions vs. State Rule Actions

          You can assign Vlocity Actions to States, State Rules, or both. There are several considerations for deciding.

          • If something needs to happen at a specific state regardless of the path to the state, assign the action to the state.

          • If an alternate state has no rule for the transition to it, assign the action to the state.

          • If a transition can happen under different conditions, and these conditions need to have different results, assign the actions to the rules.

          An action assigned to a rule must have the same State Model Version as the rule and must not have a To State value.

          In the Report Card State Model, the student receives an email if their coursework is incomplete and/or if they pass the course. The Report Card State Model includes both state and rule actions:

          • Because Incomplete is an alternate state and the Enrolled to Incomplete transition has no rule, the Incomplete state has an action assigned to it.

          • Because the Completed to Passed transition has four separate rules based on different grades, each rule has an action assigned to it.

           
          Loading
          Salesforce Help | Article