CoreBOSBB
Does the workflow field template support two levels? - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: Does the workflow field template support two levels? (/showthread.php?tid=1881)



Does the workflow field template support two levels? - Guido1982 - 08-04-2020

We can do something like
Code:
$(fieldname : (Module) referencefield)
right now, but can we also do
Code:
$($fieldname : (Module) fieldname) : (Module) referencefield)
To get to two levels? And if not, could we create that?


RE: Does the workflow field template support two levels? - joebordes - 08-05-2020

there is no second level support anywhere in the application

that seems hard to do, there are a lot of places that would need this to be taken into consideration, I think the impact would be big and we have 2/3 open project with similar big impact right now. I am almost positive that if you tried to implement that right now you would have to spend a lot of effort updating it when those 2/3 projects land

I would recommend the typical solution: add a uitype 10 to the related module you need


RE: Does the workflow field template support two levels? - Guido1982 - 08-06-2020

Quote:I would recommend the typical solution: add a uitype 10 to the related module you need
That doesn't really help, since I want to send an e-mail from a comment that is related to a ticket. In that e-mail I want to name the accountname and shipping city for the account that is related to the ticket. Accounts is already related to HelpDesk but I can't access the accountname, alone the shipping city. I would have to setup UI1 fields that update on every ticket save. Seems a bit redundant to me.

Lets keep on our toes to see if we can do such a thing when the projects you mentioned land. In the end it's just recursiveness.