Not applicable

Hi.
You added a custom field to Task table but it doesn't appear on the Case form? That sounds strange because Case table inherits Task.

Could you explain the steps in detail? Or did you try it with Form Layout?

 

Regards,

Hi @Community Alums ! Yes, I've created the custom field on the Task [sn_customerservice_task] table (the one I'm working on) and  I want the same field appear on the case form, so I've the same value shows on the task form and on the case form.

After I've created the field, I've added it on the task form with form layout, but in the form layout of the case form it isn't in the list.

Thanks

Not applicable

Hi, @Alessia Russo.
You added a field not to Task [task] table but to sn_customerservice_task table, didn't you?


To do that, you must have a Reference field of sn_customerservice_task to case table (it means case and task must make one-to-one relationships).
スクリーンショット 2023-01-05 1.33.37.png

And then, open the case form and select Configure > Form Layout.
Select the reference field from the left slush bucket and then click on Expand Selected Reference Field button in middle.
スクリーンショット 2023-01-05 1.37.39.png

Now you can see the custom field on the sn_customerservice_task table and move it to the right slush bucket using the middle button.

 

Regards,

Not applicable

Please don't forget to add Case Task field (reference field of task) together.
The value of custom field will change when you select CSTASK in the reference field.

ricker
Tera Guru

Alesia,

Why? Why would you want two identical fields on a many to one relationship?  The field on the Parent Case would only reflect what was set on the last task update.  You're better off creating your custom field on the Case table then referencing the custom field by dotwalking.

 

put the custom field on the Case (parent) table

sn_customerservice_case.custom_field

 

then on the case task you can access your custom field through the parent reference field.

sn_customerservice_task.parent.custom_field