Workflow: User Decision Activity doesn't work

friends,
URGENT!!!
I've created a User Decision Activity but it doesn't work.
It sends a message to SBWP but there the user hit APROVE  OR REJECT, and instead it work, it simply show another screen with only a button labelad "Cancel and keep work item in inblox".
It simplily doesn't folow.
I've created an method that executes a standard function 'EDITOR_TABLE' that call a screen to the user put a description text for the rejection. It's market 'Advance with dialog'.
thanks
Glauco
Abap / Workflow Consultant
msn: [email protected]

Hi,
Your patch level seems to be OK.
pls. try the declaration as 'Data: uid like syst-uname' or you could try directly assigning the sy-uname.
Try to debug and see the content of the sy-uname, when it hits this code.
HTH,
Regards,
Nataraj.

Similar Messages

  • Automatic User Device Affinity doesn't work

    Hi, the automatic User Device Affinity doesn't work in my environment and I don't know why! The audit policies are enabled by GPO and User Device Affinity is correctly configured in SCCM. Below are some screenshots including de log of User Device Affinity.
    Anybody could help-me please?

    An old post but,
    This can happened when activating
    advanced audit policy in one of the GPO. once it was activated, it gets override the regular audit policy with different event id's that SCCM don't recognize. in addition, the machine tattooed with those settings so removing the GPO wont revert the settings.
    Check out this thread for more information and help:
    http://social.technet.microsoft.com/Forums/en-US/f3a4b675-e955-4cd2-bba6-d51ea06dd362/user-affinity-not-working-properly?forum=configmanagergeneral
    Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks.

  • A Method betweeen two User Decision Activity

    Hi,
    Is it Possible to execute a method in between two user Decision Activites which advances with Dialog.The method that has to be executed is just a simple code based on the result of the user decision activity.
    By placing an ordinary activty between these two user decision activity it fails to advance with dialog.
    Also,it has been impossible to use this as a Modal Call after work item execution because this method requires standard Elements like WIActual_Agent which couldnt be passed as parameter also there is not separate binding for secondary methods.
    Please suggest a way to do that.
    Regards
    Imman

    I tried that.I dunno where I'm missing.
    The method which I need to call in between has a piece of code for table updation and is actually not a dialog.
    But this has to be executed between two dialogs.
    A notification is sent to User's inbox with 2 options(1st decision Activity) and on choosing one from that again 4 options(2nd decision Activity) will come.Between this a method has to get executed.
    Ideas pls.
    Regards
    Imman

  • How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activ

    How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activated. HELP?  I really need to continue using this product for my home business.It works fine not activated but the threat is that it will stop working in 13 more days if I don't get it activated, and none of the activation methods they list seem to work.

    The new serial number is to the right of your chosen download.

  • Attachment in workflow user decision

    Hi All,
    Can anybody let me know how to use attachment in workflow user decision box? My requirement is I have one internal table and I want to display the data of the internal table as an attachment.
    Thanks,
    Salil.

    HI,
    Go thru thi link
    http://help.sap.com/saphelp_nw04s/helpdata/en/8d/25f131454311d189430000e829fbbd/content.htm
    Thanks
    Sunil

  • User decision activity not going to the agents(Position Maintained).

    Hi All,
    I assigned a specific Position in the agent field of  the user decision activity. But after assigning, the decisiion step is not going to the expected agent but it getting executed by the WF-BATCH user.
    I have checked the same in the Tcode : PO13 and the corresponding user is the only one maintained for that position.
    Kindly guide what can be the possible reasons. Is there any thing i am missing.
    Thanks,
    Neslin.

    Thanks.Yes.Latest start and latest end are already maintained and there is a Rule when the latest start missed also.  kindly let me know how i can avoid this also..
    How to check whether the position is maintained to the SAP user id?.I have seen the user maintained under the position in Tcode PO13..
    The deadline is calculated 4 days after sydatum.
    One more thing the Workitem got reserved by the WF-batch and executed by WF-batch.
    Edited by: neslin on Jul 28, 2009 7:49 AM

  • Workflow user decision problem

    Hi experts!
    I've got a problem on using the user decision in workflow.
    i have a workflow with a user decision that has 3 user decision options (basketball, volleyball, and badminton)
    Here is the problem:
    After i selected one of them and flagged them as finished.
    I'd like to loop again with that user decision but the decision options now will be the remaining two and the other one will not be displayed
    ex:
    BEGINNING
      options:
         basketball (selected)
         volleyball
         badminton
    AFTER LOOP
      options:
         volleyball
         badminton
    Here's the question:
    <b> how will i do that? </b>
    i would like to make a workflow with using only one user decision. Based on my thinking i would come up with so many user decisions if i randomly select the decision options.
    Thanks in advance.
    <i>Points will be given for any answers that would come up with an idea..</i>

    There is an user exit for customizing our work items but I am afraid that will it be applicable to your requirement. I tried your scenario to pass variables to the user decision, but i failed. Experts please share your views. Is it possible to pass variables to user decisions using user exits?

  • How to make the workflow users as active users in SAP R/3

    Hi All,
    We have got an issue in R/3 system where a certain number of users who are created only to approve work flows via Outlook emails.
    They are not required to log in to the system at all. Due to this,the users are getting locked by a Security background job which locks all the inactive users.
    Now My question is how to make these work flow users as active users in R/3 system so that we can avoid locking of these users.
    Awaiting your response.
    Thanks in advance
    Ramkumar C

    Hi All,
    We have got an issue in R/3 system where a certain number of users who are created only to approve work flows via Outlook emails.
    They are not required to log in to the system at all. Due to this,the users are getting locked by a Security background job which locks all the inactive users.
    Now My question is how to make these work flow users as active users in R/3 system so that we can avoid locking of these users.
    Awaiting your response.
    Thanks in advance
    Ramkumar C

  • Compensation handler and compensate activity doesn't work

    Hi!
    i'm trying to build process with compensation handlers and it doesn't work .. to test it i made the following example:
    in scope_1 there is simple assign_1 and in compensation handler there is assign_2. after scope_1 i throw error and in catchAll branch i have compensate activity - calling compensation of scope_1. But that compensation activity is never invoked! can please someone tell me why? what am i doing wrong?
    I have bpel 10.1.2 ...
    Thanks, Tomas
    This is the source of my process:
    <process name="pokusy" targetNamespace="http://xmlns.oracle.com/pokusy"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/all_keycodes/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns5="aa"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/pokusy"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:pokusy"
    myRole="pokusyProvider" partnerRole="pokusyRequester"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:pokusyRequestMessage"/>
    <variable name="outputVariable" messageType="client:pokusyResponseMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_2">
    <compensate name="Compensate_2" scope="Scope_1"/>
    <assign name="Assign_3">
    <copy>
    <from expression="concat(bpws:getVariableData('outputVariable','payload','/client:pokusyProcessResponse/client:result'),'after compensate..')"/>
    <to variable="outputVariable" part="payload"
    query="/client:pokusyProcessResponse/client:result"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="client"
    portType="client:pokusyCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:pokusy"
    operation="initiate" variable="inputVariable" createInstance="yes"/>
    <scope name="Scope_1">
    <compensationHandler>
    <assign name="Assign_2">
    <copy>
    <from expression="concat( bpws:getVariableData('outputVariable','payload','/client:pokusyProcessResponse/client:result'),'...COMPENSATE!!!')"/>
    <to variable="outputVariable" part="payload"
    query="/client:pokusyProcessResponse/client:result"/>
    </copy>
    </assign>
    </compensationHandler>
    <sequence name="Sequence_1">
    <assign name="Assign_1">
    <copy>
    <from expression="concat(bpws:getVariableData('inputVariable','payload','/client:pokusyProcessRequest/client:keyCode'),'...first assign...')"/>
    <to variable="outputVariable" part="payload"
    query="/client:pokusyProcessResponse/client:result"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <throw name="Throw_1" faultName="ns5:aa"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:pokusyCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>

    this might be caused by a bug I found too causing eventhandlers not to work, the work round in your case would be:
    blar blar blar
    </variables>
    <!-- start work round --><scope><!-- end work round -->
    <faultHandlers>
    blar blar blar
    blar blar blar
    </sequence>
    <!-- start work round --></scope><!-- end work round -->
    </process>
    i.e. what I'm saying is that top level handler don't work since they are ignored by the engine because they are not in a scope. Try it and see....

  • Need Help in Workflow - User decision

    I have to pass 5 parameter with this user decision title but they only give 4 parameter options in the user decision step. Is there anyway I can have five parameter place?
    Please help

    You might try creating a container element which is a long text field. Then write a method that will concatenate 2 or more of your parameters into the text field. Call this method before the decision step, and use this text field as a parameter.
    If you do this, you need to find out what the maximum length of a parameter can be (I think it's 50 char).
    All seems like a lot of work for one extra parameter, though!
    Cheers
    Lyal

  • USER Exit variable doesn't work in BSP

    Hi gurus
    I made a characteristic variable with user-exit replacement type.
    It get the user id from sy-uname. It works well in Gui version. But when I execute the layout in BSP (WI), it doesn't work.
    But If i do the hard-coding the line from (l_eto_charsel-low   = uid.) to (l_eto_charsel-low   = '4012121'.) it works well.
    The following is my coding.
    Please give me any comment.
      CLEAR eto_charsel.
      DATA l_eto_charsel TYPE upc_ys_charsel.
      DATA  uid type c. "(also I have tried 'data uid type sy-uname')
      uid = sy-uname.
      l_eto_charsel-chanm = i_chanm.
      l_eto_charsel-seqno = '0001'.
      l_eto_charsel-sign  = 'I'.
      l_eto_charsel-opt   = 'EQ'.
      l_eto_charsel-low   = uid.  ++++>
      INSERT l_eto_charsel INTO TABLE eto_charsel.
    ENDFUNCTION.
    Message was edited by: Bryan Lee

    Hi,
    Your patch level seems to be OK.
    pls. try the declaration as 'Data: uid like syst-uname' or you could try directly assigning the sy-uname.
    Try to debug and see the content of the sy-uname, when it hits this code.
    HTH,
    Regards,
    Nataraj.

  • Workflow user-decision mail with Approve & Reject button to Outlook.

    Hi All,
    Requirement: To send a mail with Approve & Reject buttons to outlook inbox.
    Approach: I have used the user-decision step in the workflow and the approve, reject buttons are displayed . As far as solution in SAP inbox is concerned, it is solved.
    However the requirement is to show the mail with the buttons in the outlook mail.
    Resolution Required For: to show the mail with the buttons in the outlook mail. I am new to workflows sending mail to outlook inbox. Is there any way to do this using ABAP developments.
    Thanks for your time.
    Best Regards,
    Goutham.

    Hi,
    If you are on ECC 5.0 or above, you can use the Extended Notif. for achieving this.
    How are you getting the Outlook mail ?. If you already have Extn.Notif, then do the following :
    1. In Transaction SWNCONFIG,for your Scenario and Category,
    in the Subscription Basis Data -->Subscription Settings,
    Set the parameter SHOW_ACTION_DECISION_AS as "LINK"
    This will give you the options of your user decision as LInks in Outlook mail.
    There is lot of material in this forum for Extended Notif. if you search.
    Hope this helps.
    venu

  • SAP Business WORKFLOW User Decision Rejection Rollback.

    Dear SAP experts.
    Please help on below Query:
    1) In my Custom workflow , we are mailing to a user with user decision on change of some SAP data.( material master, source list, PO change).
    2) In A User Decision there are 2 Options:
    APPROVE Changes.
    REJECT     Changes.
    3) As per CLIENT's Requirment if REJECT changes is chosen then all SAP chanegs that were done to TRIGGER this WORKFLOW should be Rolled back and UNDONE.
    4) is this Possible?
    5) Please guide me with some Example or Logic to accompalish this task...
    Thanks to reply.
    (Used for SAP learning only)

    You can check what are the changes that are done from Changedocument tables like CDHDR and CDPOS
    Please make sure to put filter such that the rollback change does not trigger new Workflow. You can achieve this using SWB_COND by maintaining start condition.
    Thanks
    Arghadip

  • Workflow : User Decision on Email using Web Services

    Hi,
    I have the requirement of sending User Decision on Email Using Web Services.
    Eg : I have created one ECR Using T-Code "CC31" and on status change "CC32" of this ECR, My workflow triggers. Now what i want is to send the User Decision on maintain User Email ID  as URL link. This link will contain the ECR Nos. There will be "N" nos of Links send on email depending on Requirement. By clicking on that Particular Link , Action taken should be updated in sap.
    URL Link is just like confirmation link send on our email id during user Registration on some Website or when we create our Gmail / Yahoo Account.

    Why not use the extended notifications? - it has an option to send links to approve/reject or any other option in the decision task and use a standard web service. See the document attached to note 1646056 - Workflow Quick Start Guide to Extended Notifications.

  • Lock user with SCUG doesn't work

    Hello,
    We use a SLM 4.0 with last SP (12) .
    When we connect a new system to our CUA (on this SLM), the lock of user doesn't work. We must use the SU10 transaction to make mass modification of users and create the correct idoc.
    I have got any idea about this ?

    I have the very same problem, almost identical circumstances, and I believe it is releated to Home folder syncing, not Adobe. I did not have this problem before I started home folder syncing on my OSX home server.
    My suspicion for the culprit is logging-out while syncing as you do, while using another machine linked to the same account creates some confusion.
    I will test two ways around this:
    1- Do not use two machines while syncing in progress. Do not sync if logged in to another machine.
    2- Stop syncing on log-out, and only sync during log-in.

Maybe you are looking for

  • XY graph response slows with dashed plot

    I have an xy graph displaying multiple plots. I find that if at least one of the plots uses a dashed line as the line type, and that this plot has zero values displayed, then the response of the graph slows significantly. Redraws seem to take 5 to 10

  • How do i create a table using Gifs?

    Do I want to use Gifs? They do look better.... I used a Template to get started, to change my template I lose all my data... http://www.dancehamptonroads.com I figured out a simple table, so I can change random items on my web page without using a te

  • HT201441 my iphone is locked an i can get into it i forgot my apple id an password

    my iphone is lock

  • Add a button in javabean class

    hi how can i have an add button in my class, i what an action listener in my class which will allow me to have a button to add a record in my javabean,i what to have createInsert button,how can i create that in my class.am not yet connect to database

  • Contribute CS4 setup to hide Flash content that interferes

    I am new at using Contribute. I have a page with flash content that overlaps my editable regions text and image areas I want the user to be able to access. I do not want the user to access the flash content.  So, how do you as an Contribute administr