Find Next Task ID

Hi All,
Here is a case:
I have to notify a user througt email when his/her request is rejected by XYZ.
I cannot use the email notification from adminui as the email content requires lots of data from process variables.
So I am using EmailService to send a notification email when his/her request is rejected by XYZ and then assigning the task to him/her, to view from workspace.
Now the email content should have a link which takes him/her to the rejected form.
Link: http://[servername]:[port]/workspace/Main.html?taskId={here is the problem}
How can I get the task ID before assigning the task to him/her ?
Is there any way to do this?
I tried doing this --
select (max(id+1)) from tb_task;
But its not consistent.
Please Suggest.
Regards--
Chalukya.

Hi Nith,
Thanks for your reply.
As suggested I am using TaskCreated event, but unable to capture the TaskID value.
I am doing this assignment in TaskCreated Event properties:
/MapContent/TaskID = /process_data/@task_id
Anything else i have to do?
Please Help
Regards--
Chalukya.

Similar Messages

  • Retrieving possible agents of the next task

    Hi All,
            How can I retrieve the possible agents of the next task in the previous task?
    My requirement is  to list all the possible agents of the next task and select an agent among them who will execute the next task.

    hi,
    If you want retreive the possible agents depending on the role or position in the  org structure, then create a agent finding rule.
    And if u want to find the agents dependent on the task, SWD_CHECK_TASK_AGENTS, u can check whether agents exists or not.
    and u can retreive using SWD_GET_TASK_AGENTS.
    hope this helps.
    Regards,
    Saujanya

  • How to find next number range for project definition in tcode CJ20N

    Hai Experts,
          Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
    Note: I searched in forum before posting, but couldn't find the solution.
    Thanks
    Regards,
    Prabu S.

    Hi,
    For project defination internal number is assigned by system.
    When you saves's project then system allocate one number to project defination, you can view it,
    SE11 >>> table  PROJ >> Click on contents >>> execute,
    here you will get your project defination & number is assigned to project defination.
    kapil

  • Possible to code a Find/Find Next feature for use inside a Table Control

    Hello,
    I have a Table Control that displays many lines.  Is it possible to code a Find/Find Next feature that would allow the user to enter a 'keyword' then search each line of the Table Control for existing matches?
    I have provided the user with various Selection Criteria that will filter the table control results, but there are still too many lines to visually scan for the desired result.
    I am guessing that I would place an input box and a 'Find' button onto my layout screen. Then in user command, I have to scroll through each line of the table control and check every value to see if the string contains 'keyword' When found, stop  and display table control assigning current line as Top line?
    Am I on the right track or is there a better solution already?
    Kind Regards,
    MPersson

    I've done that. It works pretty well. You might want to allow the user to search only in selected column(s) as well.
    Rob

  • Find/Find Next Behavior in ALV in container in ABAP OO

    I have an ALV grid in a custom container that's sized for a screen on a high-resolution tube.  In other words, there's a scrollbar on the ALV but none on the screen itself (because the whole screen is visible at the high resolution.)
    At this high resolution, a find or find next will correctly scroll the ALV to the row in which an item is found (when the "found" row is below the currently visible row of the ALV.)
    But when I switch to a lower resolution where I have a scroll bar on the ALV and on the window itself, a find or find next does not scroll the ALV properly.  You have to manually scroll to find the found row.
    Yes - I have both resizings checked on the container.
    Is there a way I can:
    1) find the resolution the user is in?
    2) modify the screen size to fit this resolution?
    3) modify the container size to fit this resolution?
    Thanks
    djh

    Calgar -
    This is the same thing that Thomas (Jung) suggested in an old ABAP General thread.
    But I've done it, and it doesn't work.
    Also, I don't understand why I'm getting a scroll bar for the ALV as well as for the screen.
    I thought if I did what you and Thomas said, I would only see the scroll bar for the screen and not the ALV.
    Any other ideas ????
    Thanks
    djh

  • In menu bar for print, find, and find next

    Hi Everyone,
    In the menu bar apart from back cancel, i have these icons also print, find and find next.
    To implement these to perform their respective functions, is there any stantards functions or forms to invoke or else how could it be achieved.
    Any help on this will be of great use to me.
    Thanks in advance,
    Prabs.

    Hi Everyone,
    See in the standard toolbar of my screen i have these icons which are assigned to standard function codes, but when i execute my pgm and press the buttons it says
    This function is not possible, so my question is do i have to code something in the program for these to work.
    Any help will be great use to me.
    Thanks,
    Prabs.

  • "Find Next" feature doesn't work in preview.

    The only way I've been able to search for text in preview is searching the whole document. This doesn't work too well when the pdf is an 1100 page text book. When selecting "Find Next" from the drop down menu I get no response at all. Also, is there any way to turn off the "seach as you type" feature? Please help, this is my only hang up with using Preview.
    Unfortunately using adobe reader solves the problem, but I really do loathe the clunky interface and choppy scrolling.

    I am running OS X 10.8.2 (supplemental) and Preview v6.01.
    I can search for a particular string in a PDF. It will highlight all occurrences in yellow. Then, whether from the Find menu > Find Next, or by using Command+G from within Preview, it will quickly step to the next occurrence of the Find target. Just tested this on my machine, and it works fine. Nothing special set to make this work.
    Unaware of any setting to disable search as you type feature.
    If there is a com.apple.Preview.plist file in your home directory/Library/Preferences, you might try dragging it to the Trash and emptying it.

  • 30EA3: F3 (find next) not working in PL/SQL editor

    F3 (find next) appears not to be working in PL/SQL editor - works in worksheet, though.

    I am on Win7Pro(32bits). F3 works with 2.1, worked with 3EA2. On 3EA3, even though it showed in "shortcut keys", I still had to "override" it (in effect, confirm) in the preferences before it worked. Weird...

  • Find Next button is not working in member selection for Smartview V11.1.2.1

    Hello,
    Quite urgent.
    When group of users select Smartview --> Member Selection --> "FindNext" or "Find" button is not working.
    The same option is working fine with my credentials. But problem exists for set of 3 users.
    Please suggest asap.
    Thanks in Advance,
    Tej

    Hi Iain,
    Thanks for your reply.
    * All 3 users are part of same group.
    * Created user with similar group and checked for member selection option to verify "Find Next" button functionality. It worked fine.
    * Verified filters assigned to this group. No filters are assigned.
    * Checked for version again - Version is V11.1.2.1.00 (Build 271). It is exactly same as other systems where the functionality is working fine.
    * Installation is carried out by company IT team as administrator, so that can not be an issue.
    kindly suggest if you have any other inputs to be verified.
    Best Regards,
    Tej

  • Direct Link to Next Task via Email

    I would like to send a direct link to the next process task via e-mail.  In this scenario a user would receive notification to complete a task assigned to them and be able to access that task directly from a link in the mail.
    I am currently able to send out notifications and provide test links in that notification.  What I do not yet know is how to link directly to the next task.
    Is there a WebDynpro app provided by GP where you can pass a process task id as a parameter and link directly to that task in runtime?  If so how do I retrieve the task id of the next task from the process?
    Best Regards

    Hi,
    Before the process step for which you want to send the notification to the user add another process step using the pre-defined callable object Send Notification. You need to assign a mail template to that CO. So create a mail template with a standard message body and include the following as a replacement for the next task URL :
    `
    writeln(sy.workitemurl);
    `
    Assign the send mail to the same processor of the next action and when the user gets the mail the URL of the next task will be present in the mail message. Clicking that he/she can directly open the next task in portal.
    Thanks,
    Dipankar

  • Find Next command doesn't work right in CS3?

    The Find Next command (F3 in Windows) used to go immediately
    to the next instance of a search term. What was great was that I
    could search for a term on one page, close it, then open a
    different page and immediately press F3. But now, the command keeps
    bringing up a "Find and Replace" dialog (that has no Replace box,
    which is also odd) instead of going immediately to the next
    instance of the search term. This dialog already has the correct
    search term in it, so it isn't like I'm trying to find an empty
    string.
    Is this a bug, or am I losing it?

    I am running OS X 10.8.2 (supplemental) and Preview v6.01.
    I can search for a particular string in a PDF. It will highlight all occurrences in yellow. Then, whether from the Find menu > Find Next, or by using Command+G from within Preview, it will quickly step to the next occurrence of the Find target. Just tested this on my machine, and it works fine. Nothing special set to make this work.
    Unaware of any setting to disable search as you type feature.
    If there is a com.apple.Preview.plist file in your home directory/Library/Preferences, you might try dragging it to the Trash and emptying it.

  • HT2506 "Find next"  with a PDF document

    I would like to use the "Find next string" of a PDF document with Preview.
    When i fill the search window, Preview does the search on the entire document, and shows the first occurence it has found. Thus, making me loose my current reading page. 
    I just want to do a forward search !
    Thank you

    Use Adobe Reader - http://get.adobe.com/reader/.
    Preview is just horrible, to my way of thinking and working, with PDF files.
    Clinton

  • On submit button clicked , adf form is not closing but going to next task.

    Hi,
    In my application when In a adf form when I am clicking on the Submit button task is moving to next task but that adf form is not automatially closing .I need to close the adf form by closing the window on clicking X button.
    I have tried with closing or commenting the line from task flow.xml...
    <!--<finalizer id="__111">#{invokeActionBean.invokeScript}</finalizer>--> but still it is not working.
    Please suggest me how we can achieve this.
    Any suggestion,ideas are welcome.
    I am using 11.1.1.6.
    Thanks &Regards,
    Ganesh

    ADF related questions should be asked in appropriate sections. There you might have a good chance to get any help.

  • Help about 'Find' and 'Find Next' Buttons...

    Hi Friends!
    There's a way to implement the standard functions of the buttons 'Find' and 'Find Next' in a Z Program????
    A function or something else???
    tks in advance!

    You need to write the list before calling the FM.
    Like:
    REPORT  ZTEST_NP.
    DO 10 TIMES.
      WRITE: / SY-INDEX.
    ENDDO.
    AT LINE-SELECTION.
    * first write the data ... to make the list active
      DO 10 TIMES.
        WRITE: / SY-INDEX.
      ENDDO.
      CALL FUNCTION 'LIST_SCAN'
        EXCEPTIONS
          NO_LIST_ACTIVE = 1
          OTHERS         = 2.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards,
    Naimesh Patel

  • Query to find dependent task attached to task on some response in OIM 11g

    can anyone help me in making a sql query to find dependent task attached to task on some response in OIM 11g
    Edited by: user13331347 on Sep 3, 2012 2:09 PM

    Use below query to find all dependent task in OIM 11g:-
    select pkg.pkg_name, mil.mil_name, rsc.rsc_data, rsc.sta_key, sta.sta_status, sta.sta_bucket, mil2.mil_name
    from     pkg pkg, tos tos, mil mil, mil mil2, rsc rsc, sta sta, rgm rgm
    where     pkg.pkg_key = tos.pkg_key
    and tos.tos_key = mil.tos_key
    and mil.mil_key = rsc.mil_key
    and rsc.sta_key = sta.sta_key
    and rgm.rsc_key = rsc.rsc_key
    and rgm.mil_key = mil2.mil_key
    order by pkg.pkg_name, mil.mil_name, rsc.rsc_data, sta.sta_status, mil2.mil_name

Maybe you are looking for