Assignment Scripts Table 8.3 lists the predefined assignment scripts that are available in Process Builder. The documentation below explains what they do, and what parameters you need to supply when you use them to assign a user to an activity. See "Setting Activity Assignments" on page 81 for more information on using assignment scripts in activities. For details on creating assignment scripts, see Appendix A, "JavaScript API Reference."
Figure 8.3 shows the definition of this embedded script in Process Builder, and Figure 8.4 shows the results of this embedded script in Process Express.