Create Document Task : Flow action generates document task but gives attachment not found error all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
All the time when i try create Document task in flow designer it generates the document task but when i try to fill document it says attachment is missing. does any one know how to resolve this issue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Could you explain more? I'd like to know if you are using a HTML template or a PDF template ?
Usually we first create one of those, publish it, and then pass to template sysid to the flow Action. The flow Action then uses the template to create a document task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I am using PDf template and my document templates are published, when i create them usingsc ript includ using Below script
it creates as expected but when it resturns true or false not record sysid adn creates async'ly . I need to create and get me back sysid. I do glide it doesnot work because of async, i want to use flow action to generate but then again attachment not found issue comes up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Here is what I understood from your situation. You want to create a document task. But it doesn't work using Flows, so you wrote a script to do it. The script works, but doesn't give you the sysid of the newly created document task. Is all of that correct?
Unfortunately, with document tasks you will have to do extra steps for continuity. I have used a flow action to create my document task, but have never seen an attachment error. And the result of the flow action also ever gives the sysid of the document task.
So by that logic it is no surprise that the script doesn't do it either. You will have to use the Parent field on your document task to query and retrieve the document task object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @Kachu
Could you please confirm whether you document template (for your document) is in published state?
