Workflow initiator problem

Hi friends,
In my workflow, I have created one activity for reason for rejection and I am using task(TS20000139) for sending short message with reason and in binding I am passing wofkflow initiator(&_WF_INITIATOR&) to receiver(&RECEIVER&). But the problem is workflow initiator is not pickingup exact user name. If the username is 'STEVE' it is picking 'USSTEVE', because of this it is showing an error that user does not exists. If I remove that 'US' my problem will get solved. Plz suggest me.
Regards,
Steve.

hi,
when u create an activity step, double click on the step.
in the "task" section, click on the dropdown, then click on create task option.
this will take you to the task creation screen.
ih the object method section, select object category as "BOR object type", object type as your BO name (eg: BUS2012), and method as the name of the method that you created in your BO.
you can create your custom method in a custom BO.
this can be done using transaction SWO1.
enter the BO name and change button.
click on the method and then click on the create button. then it will ask you to create with FM as template. click No.
give a name to the method and dont forget to uncheck the "dialog" property of the method.
save it.
click on the newly created method and click on parameters button. specify the input and output parameter.
again click on the newly created method and click on program. here you can perform the string operation.
once all this is done click on the method. goto Edit -> change release status -> object type component -> to implemented.
then click on the generate button. (red and white coloured button).

Similar Messages

  • Workflow initiator definition in a local workflow

    Hi, workflow gurus.
    Question is about workflow initiator definition in a local workflow.
    In my workflow there are, for this moment, two event creators (callers), each of them calls for the same local generic workflow and passes event specific parameters, for instance, the user name of a current step approver. I use a local workflow in order to increase reuse and make approve process more generic.
    My local workflow contains from a user decision, if user approves the decision, we returned to the main workflow and continue process approve execution, otherwise we send a message to WF inbox to the main workflow initiator, who ran the workflow. This email should contain the following text: «Dear, &_Wf_Initiator_&, the process you had launched has been declined by %_Current_Approver_Uname%». Such as if John executed the main WF and Andrew declined it, thus John will get the following message: «Dear, USJohn, the process you had launched has been declined by USAndrew».
    There is no problem with passing %_Current_Approver_Uname% in the message, I use a regular binding via local event, the problem is with passing WF initiator user name. As I thought, a local workflow has absolutely the same WF initiator user name, as the main WF, who called for this local WF. But when I send my message I got something like «Dear, USAndrew, the process you had launched has been declined by USAndrew» instead of desired message text.
    My questions are:
    1. Does local WF always inherits by default a WF initiator value from a main WF's initiator or a local WF may have his own WF initiator?
    Short form of this question may be expressed as: Is the following statement is correct
    localWF._WFInitiator = mainWF._WFInitiator.
    2. Why in my case local WF initiator has the same value, as a current approver, which has been passed via binding (the only value, that was binded)? I got «Dear, USAndrew, the process you had launched has been declined by USAndrew» instead of «Dear, USJohn, the process you had launched has been declined by USAndrew»?
    Thanks.

    Hi, Ronen
    I'll check the binding implementation more properly.
    What I paid attention for is that, when I define &_Wf_Initiator_& as message receiver of a local WF it sends the message to the main WF initiator (e.g. USJohn), but when I want to print the value of the same &_Wf_Initiator_& inside of this message I got the different value (e.g. USAndrew). So how it can be that using the same variable we have two different values?
    One more theoretical question, does main workflow container is completely encapsulated from a local workflow or main WF's container is kind of a global container and accessible from local WF without binding via local event binding?

  • Error from Cisco Agent Desktop - The agent- or workflow-initiated action request failed.

    We have roughly 20 agents using Cisco Agent Desktop version 85.1.417 and I have one that when she clicks the phone button to answer a call she gets the error: "The agent-  or workflow-initiated action request failed."
    I reinstalled the program, but she still receives the same error.  What could be causing this problem?

    This is what I found in the log:
    2014-10-06 08:59:46:838 INFO VOIP2021 Desktop monitoring enabled for extension [9214].
    2014-10-06 09:00:12:147 WARN STD3000 Get registry key <MTS_CitrixInstall> under path <SOFTWARE\Calabrio\CAD\Site Setup>. Object not found: <2:The system cannot find the file specified.>.
    2014-10-06 09:00:12:159 INFO SOCKET0000 <CADEEMConnector> service on port <59015> has started.
    2014-10-06 09:01:01:580 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781617 != 37533406)
    2014-10-06 09:09:28:543 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781655 != 37533406)
    2014-10-06 09:13:42:458 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781669 != 37533406)
    2014-10-06 09:29:03:809 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781740 != 37533406)
    I'm attaching part of the DBG log.  I hope that it helps.
    Thanks

  • Assign workflow initiator dynamically

    Hi all
    Yesterday i posted same issue but it is not that much clear from my side  , some of them  suggest some solution but i am unable to solve. Please help me in this.
    My problem is:
    I am passing Workflow Initiator dynamically from BO.
    1. here initiator is pernr (this is from HR data not from USER)
         till BO i am able to catch pernr value but in workflow it is not passing pernr number.
    2. I created attribute for email id in BO and created refernce but i dont know how to call that in workflow.
    Please help me in this issue.
    Thanks & Regads,
    Padma

    In binding from workflow to task....
    you can bind like this....
    suppose yur BO has name : ZHRDATA
    &ZHRDATA.USERID& --> &USERID&
    &ZHRDATA.EMAILID& --> &EMAIILID&
    Make sure that you have created these two(userid and emailid parameters in your method as import parameter
    theniside your method...you have access this like below:
    Data : lvuserid type.....
    swc_get_element container 'I_USERID'   lv_userid  .

  • 090 client,workitemcontainer : workflow initiator:USOS_WF_BATCH

    Hi,
    My workflow issue has solved( Attachement). its working fine, from report i have passed the parameters to workflow. everything is working.
    i tested it from report also. its working fine.
    Now i have one more issue.
    I have developed  this workflow in  client 060,  since there is no data available , so i had transfer workflow to 131 client. and 090 client
    I had transfred using scc1 transaction.
    Now my problem is when i am testing in 131 client, its working fine.(100%).
    when i am testing in 090 client , it is working, but with an issue.
    If QE (quality engineer) reject/approve the work item , then the mail will be send to workflow initator. But the step is not working, mail has not been  recieved by workflow inititor.
    This same step is working fine in client 131 perfectly, initiator has recieved the mails here,
    But problem is with 090 client,
    Can you please tell me why  is it not coming to initiator in client  090?
    I had checked in workitem analysis transaction (SWIA).
    it shows  diffrent values in diffrent clients, that means,
    in 090 client, workitem container :        workflow initiator :  USOS_WF_BATCH
    in 131 client, workitem container :        workflow initiator :  USSHASHIM
    in 060 client, workitem container :        workflow initiator :  USSHASHIM
    SHASHIM  is the userid of ME.
    why it is taking different values in different clients.
    In 090 client, i had tested workflow in workflow builder ,
    that time its working perfectly, but when i am executing from the report only its not working that means return mail is not recieved by the initator.
    in outbox of workflow initator shows workflow has completed. it shows workitem status is mail sent.
    but workflow initator has not recieved the mails. because its taking  workflow initiator  as:  USOS_WF_BATCH
    Please give me suitable solution.
    Thanks & Regards
    Sankar
    Message was edited by: sankar surya

    Hi Markus
    We are facing the exact issue reported in ur mail. Did you manage to get a solution for that?
    Regards
    Waz

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • My macbook pro was repaired and since then i can't get nor photoshop or bridge to initialize. a window appears that says it has  initializing problems due to an icc profile issue.

    my macbook pro was repaired and since then i can't get nor photoshop cs5 or bridge cs5 to initialize. a window appears that says it has initializing problems due to an icc profile issue.
    there appear two error messages. the first one says that there has been a problem sincronizing because of a programme error. the second one appears after you clicked ok on the first window and says that photoshop couldn't be initialized because the icc profile is invalid.
    does anyone know if i have to delete any system or photoshop preference? the illustrator is also having troubles. thanks

    thanks! what finnally worked better was renaming the «settings» folder in te «color folder» in the library with ~before the name. now indesign is asking me for thw icc profiles but still works, so i asume i can reinstall color settings only for indesign and go on.

  • Workflow Initiator Details

    Hi Gurus,
    Can some one please let me know where can i find the workflow initiator details/query. like who initiated the workflow in the workflow tables
    Thanks
    Raghava

    Depends on how a specific WF is created. Some are done online realtime, others offline. For example:
    I create a sales order line. The form creates workflow runtime data for the order line by calling the appropriate WF API's. To find the info you want, go back to the order line to see who created the order line.

  • Using javascript:SP.UI.ModalDialog.showModalDialog with Workflow Initiation

    I'm trying to use "javascript:SP.UI.ModalDialog.showModalDialog" with a workflow initiation page.  I can get it to start but the "Cancel" Button doesn't work.  Can anyone give me a clue?
    javascript:SP.UI.ModalDialog.showModalDialog({url:"{SiteUrl}/Workflows/Assign%20Corrective%20Action/Assign%20Corrective%20Action.aspx?List={ListId}&ID={ItemId}&Source={Source}",title:"Custom Form"});return false;
    David Jenkins

    Hi David,
    To reproduce this issue, Could you give me your detailed process and code?
    In addition, for the 'Cancel' and 'Start' buttons, if you want to reture to the original page after clicking, you can open the custom workflow and create a rule and add a 'Close the form' action for the two button.
    Here is an article about starting a workflow with a initiated parameters through JavaScript, please take a look at:
    http://www.sharepointblogs.be/blogs/timmy/archive/2011/09/15/starting-a-workflow-with-a-initiated-parameters-through-javascript.aspx
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to set LocaleId for DateTimeControl on workflow initiation form

    I am using a workflow initiation form to request a startdate and  expirationdate as initation parameters from the user that starts the workflow. The SharePoint sitecollection is in dutch and so my user is expecting dutch culture settings for the
    date format.
    The workflow initiation form somehow shows a english date format.
    I have tried to set the LocaleId property on every SharePoint:DateTimeControl in the aspx form by using SharePoint designer. This worked for the client side datepicker, but the selected value was no longer stored in the workflow param.
    I hope someone can help me!  

    Hi ,
    From your description, my understanding is that the date picker displayed English format in a workflow initiation form when the language of your site collection was Dutch.
    I did a test: the language of my site collection was English, and I set the site’s locale is Chinese. Then I created a initiation form parameter using Date & Time type, after I published the workflow and started it on an item, the data picker displayed
    Chinese format.
    So, for your issue, please go to your site collection, and click Site Actions->Site Settings->Regional settings, change your Locale to Dutch.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Has the initial problem with Mavericks with the inability to send a group email been resolved?

    Has the initial problem of the inability of Mavericks Mail to send a Group Email been resolved?

    I can't try what you suggest since I have not reinstalled Mavericks. I don't want the hassle to recover all my files if I have to return to Mountain Lion (again). I was one of the first users of Mavericks when it rolled out and I was not able to "drag and drop" group emails from my Contacts App. I had to do them one at a time--which was a pain when sending the same email to over 50 persons. I do a lot of them to different groups. I have not been able to confirm with Apple that Mavericks works correctly with mail. Thus I need to rely on users such as you to determine if it is safe to install Mavericks (again). If the mail program works correctly I should be able to drag and drop a group or type the group name into "To", "cc" or "bcc". What say you?

  • Workflow Initiation form and Workflow Association form missing?

    After creating Sequential Workflow, I tried to add Workflow Initiation Form but I didn't able to find it.
    Even  Association Form is missing there while adding.

    The only way you'll see the initiation form is if you right click the workflow item in the solution explorer as below:
    Indul Hassan
    Microsoft Community Contributor
    http://www.indulhassan.com
    You Snooze.. You Lose !!

  • Quote Approval Workflow (ASOAPPRV) setup for customized workflow initiation

    Hi,
    We have customized Quote Approval Workflow (ASOAPPRV) XXXASOAPPRV, would like to understand how to setup that custom workflow XXXASOAPPRV will be triggered for Quote Approval process, when we submit the Quote for approval from Quotes screen.
    Appreciate your help on this.
    Regards,
    Ram

    Pl see your duplicate post here - Quote Approval Workflow (ASOAPPRV) setup for customized workflow initiation
    Srini

  • Workflow Escalation Problem

    Hello all,
    I need to initiate a criteria workflow with 2 steps and each step having 1 user.
    I want a situation where a workflow is being initiated and it goes to step1 user then it will wait for a specific time (say 5 mins) for that user to approve. If that user doesn't approve it within that specific time it should automatically escalate to 2nd step user.
    I have created the steps and i am using the following script in exit criteria of step 1
    <$if parseDate(wfCurrentGet("lastEntryTs")) < parseDate(dateCurrent()-(5*60*1000))$>
         <$wfSet("wfJumpName", "jump1")$>
         <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    the workflow is coming to step1 user but the problem is it is not being escalated to step 2 after 5 mins.
    I have tried that script in update criteria of step1 and also in entry criteria of step2 but it doesn't work.
    I have tried setting no of approvals required in step1 to zero. but no progress after that also.
    I have tried the condition with check in date also and my script is as follows. But it doesn't work.
    <$if parseDate(dCreateDate) < parseDate(dateCurrent()-(5*60*1000))$>
         <$wfSet("wfJumpName", "jump2")$>
         <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    Please help me.
    Edited by: Navin K on Jan 12, 2011 1:20 PM

    There is one more thing I did not observe last time:
    i am using the following script in exit criteria of step 1Escalation code must be in update event - exit is executed only if an item is approved by sufficient number of reviewers and processes to the next step. Actually, workflow manual (at least in 10g) contains an example of escalation workflow.

  • Mail to workflow Initiator

    Dear All,
    1) I want to send a mail (outlook) to purchase Order Creator.If i use Recipient type as Email address
    the mail works.But if i use expression as "& WF initiator&"It dosn't work.I maintained mail addresses in su01
    What further setting is required?
    2) I am still facing one problem that system sends mail twice to user in his outlook.Do not find
    any way to avoid the same..pls guide..
    Regards
    Sachin

    Hello Raj,
    In display event trace, i found event 'RELEASESTEPCREATED' Twice with task/workflow number and with
    Handler action 'SWW_WI_CREATE_VIA_EVENT_IBF'.At the same time Event  'Released' is with single entry
    with task number& Handler action 'SWW_WI_CREATE_VIA_EVENT_IBF'.
    In  Trans SWEC  No "Releasestepcrated  " event were found.
    In this table i found following entries,Out of this should i delete any?Pls guide........
    EINKBELEG   BUS2012    CHANGED
    EINKBELEG   QCYBUS2012 CHANGED
    EINKBELEG   QCYBUS2012 CREATED
    EINKBELEG   FREBUS2012 CREATED
    EINKBELEG   FREBUS2012 CHANGED
    KOSTL       BUS2012    CHANGED
    Regards
    Sachin

Maybe you are looking for

  • When I try to bookmark a page not all the folders iun my bookmark menu appear.

    I have 18 folders in my bookmark drop down window. When I try to save a page only some of the folders appear in the list of folders to save the page in. The folders that do appear are not in any sequence. Some are recently used some are not. I tried

  • Photos in albums get mixed in camera roll on iPhone 6P

    Hello I've been using IFTTT to save my instagram pictures in an album but the thing is those pics get in the camera roll too, how can I separate them and keep each in its place. I've been using iPhone 6 plus and the latest IOS 8.1.1.

  • OEM Backups not running after Oracle 10.2.0.4 upgrade

    Hi All, I have completely an upgrade from Oracle 10.2.0.3 to 10.2.0.4 and then added the patch set 8708078 to fix a problem we were having with some application objects. By completing the upgrade and applying the patch set the issue with the applicat

  • Multiple songs appeared after migration to new pc

    Hi I have just migrated all my data to a new pc, and when i loaded itunes, and then searched for tunes, i now have 2 or 3 of nearly every song that i have in the library. I know how to list duplicates, but is ther any way of deleting them automatical

  • Regarding Time Management Query

    ***Dear experts,*** ***The employee who is "present" marked as "absent" and the employee who is "absent" has got payment.*** ***Further leave combinations/Leave rules are not working properly.***