on 05-21-2008 8:51 AM
Hello all,
In my workflow i have a decision step, which is handled in the UWL. What i would like to achieve is to make it a decision step with a note. So when the user see this task in the UWL it can add some text.
Can anyone tell me how to achieve? Is there something i need to place in the UWL XML configuration file?
Thanks in advance.
Kind regards,
Maarten
Hello Maarten,
Yes it's quite simple. You need to set a parameter UserDecisionNote to true or mandatory in the XML. Plug it into the search of the SAP help and it'll pop up straight away.
Cheers,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mike,
Below is my xml file
<Actions>
<Action name="2" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="UserDecisionNote" value="true"/>
<Property name="decisionKey" value="0002"/>
</Properties>
<Descriptions default="Afkeuren"/>
</Action>
<Action name="1" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="UserDecisionNote" value="true"/>
<Property name="decisionKey" value="0001"/>
</Properties>
<Descriptions default="Goedkeuren"/>
</Action>
<Action reference="addMemo"/>
</Actions>
After clearing the cache and executing a new workflow instance the note isn't displayed in the UWL. Maybe i missed something in the workflow step configuration?
Hope you can help me.
Kind regards,
Maarten.
Hi Maarten,
That looks correct to me. Either there's something still cached or it's not using that item type.
Check your item priorities, or plug the properties into the default decision handler as a test.
Cheers,
Mike
Edited by: Mike Pokraka on May 22, 2008 3:02 PM
Completed partial post.... Strange, some key combo submitted my post before I was finished.
Hello Mike and others,
It's still not working .....I think it has something to do with the way i use the descisionsstep in my workflow. I hope you can tell me what i need to configure in the workflow to make it possible to use a note with the decisionstep in R/3 (using transaction SBWP)? Or isn't this possible? Below i tell you what i did so far in my workflow.
I created a descionstep.
As task i used the default desciontask (00008267).
As binding there is set a 'X' => EXTENDED.
That's all.
Thx again for helping me.
Kind regards,
Maarten.
Hello Maarten,
You should not need to do anything to enable decisions. Is the XML specific to your task? Do you have any higher priority one overriding it?
UWL aside, I would suggest creating your own copy of decision tasks. If you do this, create a copy of the XML, insert your task ID and mark it as high priority so that it will override any system defaults.
Cheers,
Mike
Hi there,
Finnaly i see the textbox in the UWL. There is just one thing i don't understand and i hope somebody can help me with that. What i like to know is where the filled in text is stored? When i look in the workflow and workflow task i can't find the text entered in the textbox. I hope somebody can help me.
Thanks in advance.
Kind regards,
Maarten.
Hi Mika,
In the UWL i created the itemtype tag like this:
ItemType name="uwl.task.webflow.decision.TS9xxxxxx"
where the x's represent my tasknumber. I changed it to:
ItemType name="uwl.task.webflow.decision.TS"
After this change the textbox appeared in the UWL. The problem i now have is that the entered text is not stored in the attached_objects. Hopefully you can help me with it.
Thanks again.
Maarten.
Hi Maarten,
we're facing the exact same issue where the box does not appear. Have you been able to find any solution? As far as I can see from the SAP documentation we've done everything right, but still the box is not displayed. I suspect this might be an issue with the config of the workflow task but I'm not sure.
Cheers,
Dion
Hi Maarten,
not sure if you managed to solve this, but I found out that in order to get the box you need to add the following in your itemtype actions
<action reference="UserDecisionNoteText"/>
this will display the note box. Also, remove any leading 000 from your decision key, if your decision key in the backend is 0003 set it to 3 in the uwl config file. If the keys do not match then the box will not display.
The documentation is very cryptic on this, I had to guess my way to it... very poor from SAP...
Cheers,
Dion
Hi Guys,
i have created a workflow with user decision task. for that task in UWL inbox i provided a text box also but i couldnt retrieve the Text entered in the text box. I think u have solved the problem before. Can anyone help me to solve this issue.
Thanks & Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.