assign_case
Related Concepts: Case Manipulation
This function assigns the current case to the user. This function requires the user to whom case is going to be assigned.
assign_case(assigned_user)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
user | string | Username or role to which case will be assigned. e.g. Admin/@tier1 |
|
Yes |
case_id | string | Case Identifier e.g. 30123 |
|
No |
alert_identifier |
|
This value is fetched during the run time of the action. |
|
No |
Return Type
NoneType
Example
Sample Code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
assigned_user= "Admin"
siemplify.assign_case(assigned_user)
Result Behavior
The case gets assigned to the Admin user.
Result Result
None