Workflow to be run for every specific document or content type?

%3CLINGO-SUB%20id%3D%22lingo-sub-1970755%22%20slang%3D%22en-US%22%3EWorkflow%20to%20be%20run%20for%20every%20specific%20document%20or%20content%20type%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1970755%22%20slang%3D%22en-US%22%3E%3CP%3EI%20will%20need%20to%20look%20for%20the%20solution%20to%20implement%20the%20manual%20script%20initiation%20for%20specific%20file%20type%20in%20the%20document%20library%20(ex.%20force%20unlocking%20a%20document).%20Idea%20is%20that%20I%20will%20add%20additional%20column%20with%20the%20link%20to%20manually%20trigger%20a%20workflow%20to%20every%20item%20with%20appropriate%20content%20type%20(only%20MS%20Office%20file%20types).%20It%20should%20look%20like%20this%3A%3C%2FP%3E%3CP%3EUser%20click%20on%20the%20link%20of%20workflow%20of%20specific%20document%20--%26gt%3B%20Workflow%20(param%20documentId)%20--%26gt%3B%20execute%20the%20script%20on%20the%20server%20(with%20documentId%20param).%3C%2FP%3E%3CP%3EIs%20that%20scenario%20possible%2C%20if%20not%20with%20workflows%2C%20how%20can%20I%20achieve%20that%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1970755%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Escripts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWorkflow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I will need to look for the solution to implement the manual script initiation for specific file type in the document library (ex. force unlocking a document). Idea is that I will add additional column with the link to manually trigger a workflow to every item with appropriate content type (only MS Office file types). It should look like this:

User click on the link of workflow of specific document --> Workflow (param documentId) --> execute the script on the server (with documentId param).

Is that scenario possible, if not with workflows, how can I achieve that?

0 Replies