Link a story back to the HR case that created it.

Dave65
Tera Contributor

Out of the box, you can add a Stories related list to the HRIT Case form so you can create a story directly from the case.
What I have not been able to figure out is how to create a reverse linkage from the Story back to the HRIT Case it was created from.
I tried adding all of the HRIT case fields to the Related records tab and the Relates list at the bottom but nothing showed the HRIT case that created the Story.

 

Can anyone help me out here? It would have thought it would be available with minimal work like just adding a field to the form.

 

Thank you for your help,

 

Dave

3 REPLIES 3

swathisarang98
Giga Sage
Giga Sage

Hi @Dave65 ,

 

You can create a Relationship between HRIT case table and story table something like below which i created for change and release table,

 

swathisarang98_1-1709315476329.png

 

 Here current belongs to 'Queries from Table' , so in change table there should be reference record which is capturing release record number (reference field - you might have to create custom field)

 

Parent is release table record so we have to query something like below

 

current.addQuery('u_release_record.number', parent.number);

 

So Related list will be created for 'Applies to table' which is release.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

@Dave65 ,

 

Navigate to Relationship module click on new

 

Applies to table : Story

Queries from table: HRIT Case

 

Create a reference field on HRIT case table which will capture story number

 

inside script:

current.addQuery('<custom field backend name>.number', parent.number);

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

James Chun
Kilo Patron

Hi @Dave65,

 

Are you talking about one of the 3 related lists below?

JamesChun_0-1709322387013.png

If so, you should be able to see the reference created via the 'Original Task', 'Parent', or 'Universal Request' field on the Story.

 

Cheers