Skip to content

Commit

Permalink
Include task_id in the response when invoking a custom button
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Aug 1, 2018
1 parent 73b98a3 commit bce3c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/base_controller/generic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def invoke_custom_action_with_dialog(type, resource, action, data, custom_button
wf_result = submit_custom_action_dialog(resource, custom_button, data)
action_result(true,
"Invoked custom dialog action #{action} for #{type} id: #{resource.id}",
:result => wf_result[:request])
:result => wf_result[:request], :task_id => wf_result[:task_id])
rescue => err
action_result(false, err.to_s)
end
Expand Down

0 comments on commit bce3c6f

Please sign in to comment.