120:
121: -- define local variables you will need
122: begin
123:
124: x_return_status := FND_API.G_RET_STS_SUCCESS;
125:
126: -- set item attributes for the workflow process.
127: -- an example of setting of various item attributes are shown below
128: -- please note that certain item attributes must be set in order for the
161: WHEN OTHERS THEN
162:
163: x_msg_count := 1;
164: x_msg_data := substr(SQLERRM,1,2000);
165: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
166:
167: end start_workflow;
168:
169: PROCEDURE set_report_approver(
448: l_doc_attach_count number;
449:
450: BEGIN
451:
452: x_return_status := FND_API.G_RET_STS_SUCCESS;
453:
454:
455: wf_engine.SetItemAttrNumber( p_item_type
456: , p_item_key
847: WHEN OTHERS THEN
848:
849: x_msg_count := 1;
850: x_msg_data := substr(SQLERRM,1,2000);
851: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
852: RAISE;
853:
854: END start_workflow;
855: