Using data partition we have set default group for a particular access type.
How can we have 2 default values depending on the location of the user creating the ticket?
Using data partition we have set default group for a particular access type.
How can we have 2 default values depending on the location of the user creating the ticket?
Hi Chirag,
Data partition may not be able to do that. Auto assignment may be the area you look for other than custom JS or Spel code.
Regards,
Derek
This is not possible at all using just data partitioning. A DP can only apply one set of default values at a time and there is no way to apply conditional logic to do so. You would need to use another means to apply the default group value based on location, from using auto-assignment functionality (which does take location into account) to using custom coding functions. It would also be important that you disable the given DP before trying these options as the DP may override any such functionality.
Can you describe what you are trying to do? Why do you need a different group specification based on location values?
Quick tickets created through quick profile get the default group through the data partition. However, the group is being set irrespective of the location. The requirement is to set the groups based on the location of the user creation the ticket.
As I said, you would need to use the auto-assign functionality, which can set group values based on location, but you'd also have to disable DP for the default group as the DP would override any choices made by auto-assign.
The only other thought I would have about this is if there is a scenario in play where you are relying on DP's default group assignment to always work and is why you may not be able to disable DP. Is there any such condition where this is happening?
Hi Chirag,
Since you can't do 'if & esle' logic on a data-partition, I think the best options for you are JavaScript or Spel-Code
===
Kind Regards,
Brian