policy node is used to dynamically set the Conversational Policy of a conversation.
When dynamically setting a policy, it is typically appropriate to set the initial policy on a Conversational Handler defined on your Endpoint Target (a Bot or Virtual Assistant.) This will control the initial policy on your Conversation. If setting policy dynamically, the following is suggested:
- Configure the initial policy using the Conversational Handler on the Endpoint Target to be as short as is required by your requirements. For example, a common use case is augmenting policy depending on whether the user is on a public or private device with a public policy terminating a conversation in a much shorter time than private. In this case the public policy should be defined on your Conversational Handler.
- Once it is determined that a user is on a private device, it may be appropriate to increase the lifespan of the conversation.