I have a requirement to copy list item attachment to document library either through workflow or event receiver.
Custom List "A" and Document Library "B" and some workflows(designer workflows) run on item adding(when a user add attachment) on custom list and in that process when the status gets changed in list "A" the attachment should get copied migrated to Document library.
Note : user will upload only one attachment to list item and only that attachment should be copied / migrated to document library.
Please help me and let me know how to go about it. Either by workflow or event receiver. I tried through designer workflow as mentioned here but getting bad request
Please let know where I am going wrong