Sorry for asking to explain more detaily.
Could you please tell me how to create the data connection the clicked button in InfoPath form action to the workflow status?
I have tried different ways, but it still doesn't work. May be I don't understand the real names of the fields in InfoPath form and in workflow in SharePoint designer to choose to be connected.
I do have a column with workflow's name in the list, where the workflow should work, but I can't use it in data connection. I can use only columns of the list, but when I set field's value to another one value, it doesn't change. (this column is drop-down list in my list)
I even could not find promoted property in the InfoPath, I thought it could have helped. (I have InfoPath 2013)