on 10-05-2006 7:02 PM
I have a requirement to attach the business object BUS2000120 as an attachment to the workflow task so that the user approving can view the details of the object.
I tried assigning the instance of the business object to ATTACHOBJECTS table but it does not work.
Appreciate any help in accomplishing this.
Thanks,
Jagathi
Hi Jagathi ,
we had the similar challenge but only with Activity (BUS2000126), but I believe it should be working with Complain (BUS2000120). We implemented the following scenario: when the status of activity was changed to "Rejected", all employees are assigned to the fixed organizational unit should receive express SAPoffice e-mail with the attached link to the activity. Our simple workflow scenario has the following structure:
Event: Transaction was created persistently (start event status = rejected) --> Step1: Container operation -->Step2: Send Mail -->Workflow completed
Prerequisite
The workflow header had been created:
a) Start event was defined (for example, Category = BO, Object type = BUS2000120, Event of the object = CREATED. The workflow is being triggered when complaint is created)
b) Event linkage was activated.
Implementation
1) First of all you should add new element BUS2000120 to your workflow container.
a) Open workflow builder (SWDD).
b) On the workflow container area add new element BUS2000120
Name = BUS2000120
Short Descript = <your description>
Object type = BUS2000120
Parameter settings
Select Import & Export checkbox.
c) Save
2) After the event "Transaction was create persistently" insert step "Container operator"
Result Element = WiGroup_ID
Expression = &BUS2000120&
Operator = Assignment
3) Create new standard task for sending e-mail
a) Open trx. PFTC in new window
Object type SELFITEM
Method SENDTASKDESCRIPTION
Select background processing in Execution section.
b) Go to Container tab and create new element BUS2000120 as described in the first step.
c) Save task
d) Exit transaction
4) Go to workflow builder and add "Send Mail" workflow step after the "Container operation" step.
a) Define recipients for receiving e-mail.
b) Select "Send express" checkbox
c) Go to Control tab and insert the number of task created in the previous step.
d) Click on the "Binding" button
Task container <-- Workflow container section
Attachments = &_WI_GROUP_ID&
BUS2000120 = &BUS2000120&
Task container --> Workflow container section
BUS2000120 = &BUS2000120&
5) Save and activate your workflow
Note: make sure that the event linkage is still active.
Best regards,
Alexey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.