I’ve been working on creating a few workflows to attach docs back to Epicor from ECM; I’ve got 2 that are working perfectly. However there’s always one that won’t behave. I feel like I’ve done everything in the same manner…but I keep getting an error "Invalid @AttachToType – I’ve tried multiple inputs in that field…and it likes nothing. I can’t figure it out. I’ve attached a screen shot of the Datalink Task for 2 of my workflows - the first one isn’t working, the 2nd one is. I’m sure its glaringly obvious what the issue is – except to me at the moment. Any and all help is appreciated.
Does it need to be a table name? JobHead maybe?
I think I did try that – but I have one other workflow where I attach to POHeader table and I have the AttachToType on that one as ‘PO’… I’ve tried leaving it blank but then I’d have to add Schema and Table and those words frighten me just a little…
Did you try it without the quotes? My datalink ‘test’ data doesn’t have quotes. But here is what our Job attachment Datalink context looks like
There are only a few recognized AttachToType values, but I cannot recall what they all are, specifically. For all others you will need to use the Schema and Table fields as @MikeGross has outlined. In general, the schema will likely be “Erp” but the table will need to reflect the specific table where you wish to attach things to.
Well…I was able to get the one that wasn’t working to work…but then one that was working decided to start throwing exceptions… this is now a tomorrow thing


