Configuring a Case State for a Case Class
Procedure
- From the palette, add an Enumeration to the BOM, and give it an appropriate name that represents the case states (for example, orderStates).
- To the enumeration, add a number of Enum Literals, one for each possible case state, and name them appropriately (for example, orderTaken, picked, packed, and shipped).
- Add a Case State attribute to the case class, and name it appropriately (for example, orderState).
- With the case state selected, on the General tab, select the browse button to the right of the Enumeration Type field, then select the enumeration you added in step 1.
-
On the
Terminal States tab, select one or more of the states for which the case is considered complete.
Note: You can convert an existing case state attribute back to a regular attribute. Right-click the case state attribute, then select Convert to Attribute. You can also convert a case class attribute to a case state attribute or case identifier -- right click the case class attribute, then select Convert to Case State or Convert to Case Identifier, respectively.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.