Configuring FSM Program
Configure the project rules that plan cases and the case rules that create CRM tasks. For the capability and processing behavior, see FSM Program.
This topic includes the following sections and topics:
Dependencies and Customization Limits
Changing projectInactive or caseInactive can select existing cases for removal. Removing a qualifying case requests deletion of all its linked tasks, including tasks outside the rule's Task Type. Classify account statuses deliberately.
Preserve Company, case, and other required record relationships when setting output values. Rules can override initially supplied dates and other values. Such overrides must satisfy the destination record's requirements and don't provide continuous synchronization.
Program rule units use singular "day" and "month". These units differ from the plural units used by Recurrence's generation horizon.
Contract Changes and Case Type Separation
Recommended practice: If the contracted frequency, pattern, or terms change, end the original Program at the agreed changeover. Create a project for the revised service. Configure that project's type and rules for the revised service without rewriting rules still used by the original project. Keep completed work under the original project. Closing a project or shortening End Date doesn't remove all future work or make the project inactive for Program. Configured status classifications and conditions for removing matched cases still apply.
Recommended practice: Use distinct Case Types for project Program-created cases and Recurrence-created cases. Keep the Recurrence Case Type out of the project rules' case.type outputs when both features would otherwise generate cases for the same service obligation. A dedicated Recurrence Case Type may still have Program case rules for its child tasks. Separate case types are a configuration convention. Program doesn't prohibit Recurrence. Ensure Program case defaults, outputs, and other automation don't add a Recurrence association or pending Recurrence definition to cases created by Program. For information about the matching consequence, see FSM Program.
Projects Created from a Case
Recommended practice: When Case-to-Task rules need linked project data, require the resolved Project Type in every applicable rule. Use the intended IDs, or "project": true when any populated Project Type is acceptable. Broader rules that omit project or permit a missing type can still run before the project exists.
Selecting a New Project type on the case initially saves that case against its customer. A later callback creates and links the project. The standard New Project choices exclude types explicitly used by Project-to-Case rules. Task creation before linkage can retain interim values because Program doesn't revise matching tasks later. Save the case's Update Program request after linkage when missing child tasks should be generated. Linkage alone doesn't guarantee generation. For this timing boundary, see FSM Program.
When Changes Apply
Rule changes affect later schedule calculations and background assessments. Program doesn't automatically reschedule existing matched cases or update or delete existing matching tasks. Program matches existing cases and tasks by chronological order and type, rather than exact dates. Manual or recurring cases of participating types can affect which work Program considers missing. Program Start Date and Create Until are record values. Saving related changes can request processing.
A saved project Update Program request assesses case additions and removals. A saved case request assesses its missing child tasks, including on an already Closed case, and doesn't directly set the parent project request. Requests and displayed Program rows are not proof that records were created. Processing remains subject to current inputs, rules, classifications, and errors.
For completion outside FSM Mobile, save the case's actual Field Service End Date (custevent_nx_end_date) and applicable completion time. These values must be available when FSM processes the change to Closed. The native Date Closed (enddate) field in NetSuite is different. If completion values are added after the case is already Closed, save a project Update Program request for reassessment. The case request is for tasks. This doesn't guarantee another occurrence is eligible, and status automation doesn't generally backfill the completion values of an already Closed case. For information about closure and request limits, see FSM Program. For the related settings, see Configuring FSM Case and CRM Task Status Automation.