You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Automatically assign incident to answer-owner

Received Response
20
Views
8
Comments
edited Jun 26, 2020 12:19PM in Customer Portal 8 comments

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#"/>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!