Automatically assign incident to answer-owner
Summary
When we submit an incident we want it automatically assigned to the answers owner.Content
When we submit an incident we made some custom fields to store answer title, owner, answerid, etc.
But we want the owner to be stored in the assigned to field in the incident, but are not able to do so.
What we tried ourselves:
We created custom widget <rn:widget path="custom/okcs/CustomAnswerStatusOwner" custom_metadata="owner" />
In it's view.php we have this code:
This works:
<? $owner = $dataArray['value'];?>
<rn:widget path="input/FormInput" name="Incident.c$owner" Label_input="Eigenaar" default_value="#rn:php:$owner#"/>
Tagged:
2