When i use the Support ticket metaobject (entry provided by Shopify form app) and then use that trigger, keep getting this issue
Do any entries currently exist? Metaobjects can be a bit wonky and I’m curious if you need some entries to already exist before the trigger will actually work.
Otherwise, definitely gotta be a bug eh if it’s failing on the trigger.
@taylor yeah see here, basically im trying to get all the form entries into a Helpdesk metaobject entry (weird part it was working before). Need. them in a separate Metaobject so then I can pull them to the frontend and then create a native Helpdesk which will be pretty cool for merchants… shame if its a bit buggy… might be one for another day.
Can you DM me a link to the workflow run with that error?
Also, are you sure the variables you are using are provided by the trigger data? It’s possible one of them is causing the error to happen and the ID field looks suspicious to me
Gotcha. This might be related to protected data then in customer support tickets potentially?
Wonder if there are some specific permissions…see that @paul_n is responding so he’ll have best answers
How do I DM you on here?
Looks like maybe you can’t. But I think your problem is that ID variable you are using is wrong. Try removing that and see if it still errors. Use “Add a variable” to make sure you have the correct syntax.
@paul_n found it… seems to be that very last Log output ID variable stopping it, took it out and its working.
Think I just need to put a if statement around it…
It’s hard to debug without seeing your in store setup. That last log output looks like you are looping over formSubmittedBy.helpdesk.value
. And then you attempt to access system.id
on that. But I don’t think it will have a system.id unless its a list of metaobojects…which is not likely since you have just a value field there.
I was wrong about the ID thing…I just checked that in my own shop.