You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a dataflow triggered on a course completed event.
I can get the data from the user and course, but the custom fields exist in an array:
customfields:
- { type: checkbox, value: '0', name: SpLD, shortname: submission_assignmentnotes }
- { type: text, value: KF123, name: cms_id, shortname: cms_id }
- { type: text, value: '62', name: volunteer_id, shortname: volunteer_id }
- { type: text, value: KF123, name: pun, shortname: pun }
How can I write an expression to obtain the value of the custom field with name = 'cms_id'.
if I use custom fields[2].value this assumes that the second field will always be cms_id but that's not the case.
Is there any documentation on the valid functions that may be used in an expression?
The text was updated successfully, but these errors were encountered:
I have created a dataflow triggered on a course completed event.
I can get the data from the user and course, but the custom fields exist in an array:
customfields:
- { type: checkbox, value: '0', name: SpLD, shortname: submission_assignmentnotes }
- { type: text, value: KF123, name: cms_id, shortname: cms_id }
- { type: text, value: '62', name: volunteer_id, shortname: volunteer_id }
- { type: text, value: KF123, name: pun, shortname: pun }
How can I write an expression to obtain the value of the custom field with name = 'cms_id'.
if I use custom fields[2].value this assumes that the second field will always be cms_id but that's not the case.
Is there any documentation on the valid functions that may be used in an expression?
The text was updated successfully, but these errors were encountered: