Assignment success or failure

All assignment methods return a Boolean value that is true if PolicyCenter successfully makes an assignment, and false otherwise. It is your responsibility to determine what to do if PolicyCenter does not make an assignment. You can, for example, assign the item to the group supervisor or invoke another assignment method.

Important: Do not attempt to make direct assignments to defaultowner.

Assigning activities to roles

To assign activities to roles, PolicyCenter uses AssignmentUtil.DefaultUser as the default user to use if the assignment fails. You can modify AssignmentUtil.DefaultUser to change the default user throughout ­PolicyCenter. You can also modify individual PCF files to use a different default user than AssignmentUtil.DefaultUser.

Determining success or failure

Guidewire recommends that you always determine if the assignment actually succeeded. In general, if you call an assignment method directly and it is successful, then you need do nothing further. However, you need to take care if you call an assignment method that simply assigns the item to a group (one of the assignGroup methods, for example). In this case, it might be necessary to call another assignment method to assign the item to an actual user.