pbustin Contributor.
Contributor.
10277 views

Can a relational field whose value is the parent item's Display Value be mass-edited?


I need to mass-update a relational field (called 'Parent') that points to the main table, rather than another field, so that its value is the Value Display of the parent item. The field is normally populated during a subtask transition in the child item, during the child Submit, but on account of Override being checked in the child submit transition, it was not given a value for over 300 items. Is there a way of creating a transition that would use mapping or some other means to populate the field in a mass-edit, or of using an sbmscript in a regular transition action? If the script is the only way, I don't know how I'd code getting the parent itme's display value into it.
0 Likes
1 Reply
pmthompson1954 Absent Member.
Absent Member.

Re: Can a relational field whose value is the parent item's Display Value be mass-edited?


Don't worry about display value format. Just set the SR field to the parent's TS_ID. You can do it with SQL. I think you can find the parent/child info in TS_SUBTASKS or TS_ATTACHMENTS table.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.