Hi,
I need to customize add workflow component so that user should get a button : "attach to workflow" in the taskview while acting on some case.
Clicking on the button, user should get a search form with custom search fields, say case ID:
From search window user can select multiple results and click on button "Attach".
Control should return to taskview pane and selected multiple docs should get attached to worklfow.
So I can split the customiztion in following parts:-
1. Create a Taskview form with a button "add_to_workflow"
2. Create a Search form with custom search fields and a button "add".
3. Call custom search on click of "add_to_wokflow" button from taskview.
Now I am not able to understand how to implement this.
Issues:
1. How to call custom search form on click of button from taskview.
2. Adding selected results to running workflow.
a) Passing workflow ID from taskview form to Search form.
b) Getting context of selected results from search list view
c) Calling custom action to attach selected documents in workflow by passing r_object_id of selected docs and workflow ID to custom action code.