I am developing an Office365 SP online SharePoint hosted app for my organization. Here requirement is 'To fetch the workflows associated to a List (list, library, announcements etc.)'. I am usingSP.List.get_workflowassociations() which returns only the 2010 workflows. Itdoes not return any 2013 workflow.
I have also tried with the API methodology viz. _api/web/lists(listid)/workflowAssociationsbut again the same issue comes.
How can I get the 2013 workflows associated to a list using JSOM model only ??