Hello :)
Now that it is possible to use form fields in automation, and create cascading fields on forms, can you access just the parent option (even if the child option is populated) using automation?
When I've tried using the standard smart value in form automation - eg.
...it just provides both parent and child options. I want just the primary option from the form field where the key is "fieldKey"
Thanks!
Hi @Ste Wright ,
I'm not sure if you can pull specific values directly (e.g. by using something like .child.value). I've tried a similar concept for pulling values directly from Jira field but had no success there.
However, you could maybe use text functions to get what you need. For example, I've managed to get it working by using substringBefore(String separator) function. To be specific, you can probably use
{{forms.last.cscfield.label.substringBefore("-")}}
if you're looking for labels. Or,
{{forms.last.cscfield.id.substringBefore(":")}}
if you're looking for option IDs.
This would, of course, pull parent value/ID, but if you want child value, simply use substringAfter( String separator) function.
This works if you just have a form field, or if the form field is linked to Jira field.
If I manage to get the value 'directly' I'll be sure to come back here and share what I've found.
Cheers,
Tobi
I've chatted with the Support team about this and they confirmed there's no way to 'pull' parent or child value directly (by using smart values).
However, they've created a new suggestion: JSDCLOUD-16024: Need Forms Smart value to fetch Parent and Child value separately from FORMs Cascading fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.