Format column with JSON to launch Workflow from list


Badge +6

I found a topic similar to this but the user was looking for something a bit different.  Basically it is formatting a column with JSON to be able launch a workflow but the example opens up the form, I don't need the form.

https://ericgregorich.com/2018/02/25/jsonactionablebutton/

 

I have a very simple workflow that gets the attachments from the already submitted form and emails them to the initiator of the workflow, doesn't have a form or any inputs.  I would like to just launch this from the list at the push of a button rather than having them go to the workflow menu and launch the hopefully correct workflow. 

 

This webpage shows how to launch a Microsoft Flow, but how would I launch a Nintex Workflow? The above website says its possible but doesn't elablorate.  I'm trying to put it together but something is not right.

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#create-a-button-to-launch-a-flow

 


2 replies

Badge +17

So I'm not quite sure how this can be achieved. There has been some discussions around this in a few other post, but I haven't seen any solutions.


 


One thought would be to have a button or choice field in the list view that was setup with request attachments or something. Thing if it was set to yes (a metadata change), that would kick off the workflow. This can be achieved without a major issue and the user doesn't have to navigate away from the list to do this. 


 


What about this as an option?

Badge +6

@eharris04 hmm I could look at doing something like that.  But not sure what you mean by a button in the list view, like a button on the the list toolbar?  Or in the original form in edit mode (I do this with 2 others)? Or on the toolbar when viewing the form?

Reply