cancel
Showing results for 
Search instead for 
Did you mean: 

User Decision with note

maarten_duits2
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

pokrakam
Active Contributor
0 Kudos

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

maarten_duits2
Participant
0 Kudos

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.

pokrakam
Active Contributor
0 Kudos

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.

maarten_duits2
Participant
0 Kudos

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.

pokrakam
Active Contributor
0 Kudos

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

maarten_duits2
Participant
0 Kudos

Mike,

Thanks for the quick reply. Unfortunately i already did everything you mentioned in your reply.

When i have found where i did it wrong i will let it know.

Thanks so far.

Kind regards,

Maarten.

maarten_duits2
Participant
0 Kudos

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.

pokrakam
Active Contributor
0 Kudos

Curious: what was wrong, how did you get it working in the end?

The text should be an attachment that would automatically be visible in subsequent steps. Check container elm. AttachObjects

Cheers,

Mike

maarten_duits2
Participant
0 Kudos

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.

pokrakam
Active Contributor
0 Kudos

That doesn't sound right - you should normally use the full Task ID. I would suggest checking OSS and perhaps reporting it - everything you've done sounds spot on and the same works for me.

Cheers,

Mike

maarten_duits2
Participant
0 Kudos

Mike,

Could you tell me which SP level you are on? And thanks for the answer.

Kind regards,

Maarten.

pokrakam
Active Contributor
0 Kudos

EP7.0 SP10 Patch 7 connecting to ECC 6.0 on NW 7.0 SP 11

Former Member
0 Kudos

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

Former Member
0 Kudos

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

maarten_duits2
Participant
0 Kudos

Hello Dion,

Thanks for the reply. This solved the problem.

Kind regards,

Maarten.

Answers (1)

Answers (1)

Former Member
0 Kudos

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,

bpawanchand
Active Contributor
0 Kudos

Manikandan Shanmuga sundaram its a very long back post. I think the person might not see your post better , post a new thread referring to this thread