I have created a standalone task. I have created form and inside form I have control to upload the document. I am able to see the document attached but still I see the "No Content " in task. But I can see the record in RELATED_CONTENT table.
I have added a control to attach a document inside the form. When I tried to publish it, the app throws "the workflow has validation errors". When I remove the 'attach' field, I am able to publish the workflow.
I dont know why 'attach' field is hampering the deployment of workflow? How to overcome this?
Task content is different from form content. You can attach content to tasks, but they won't show up in forms and vice versa. You can however upload content in a form, and use a 'Display Value' form field to show the document in later forms.
Can you share the app zip with us so we can understand what you are trying to do?