Adding Requested for and other fields to a Approval Record and Approval Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi all,
I'm currently a bit helpless about this topic I would have assumed is fairly simple.
My first problem is related to the approval record. I just added two html lines, one to show the requested_for which perfectly works out and the second was for "special_instructions", which are part of the sc_request table.
Given that there is a reference relation between these tables, I hoped I could just use {{::task.request.special_instructions.display_value}} in the HTML Body. But sadly this doesnt work. I don't use HTML often, can this easily be done by just replacing a few commands, or do I have to do much more? The reference already exists with "request", all I want is to show the display value for the 'special_instructions' field on the side.
The second problem is adding these fields to the Approval form. Again, I assumed this should be very easy, because you just have to configure the layout and use the already existing reference fields. With approval_for you have a build in reference to the task table. But despite the fact that you can click the numbers field in the task table to immediately go to the desired request where the requested_for is in, it doesnt count as reference field to dot to the needed fields.
(And a addition point I noticed: The task table has a columm named "Requested for [Requested Item]". But this columm doesnt exist under the table columms. I clicked all the buttons I could think of, but I have no clue how you create or use this. It isn't considered a reference field, and the Layout List only allows to add ro remove them, but not create them. But thats just a side note and not my priority.)
