Sorting the Tasks available in My Open Tasks
Hi Experts
I want to sort the Tasks available in My Open Tasks
Please help me in to sorting according to ID.
Thanks
Shaik Chand
Hi Chand,
Enhance the component/view CRMCMP_GS_WC/TodaysTasks
then goto Context related Methods , in this get into Method - DO_INIT_CONTEXT
and replace the code
me->typed_context->resultnew->collection_wrapper->sort( iv_attr_name = 'TO'
iv_sort_order = cl_bsp_wd_collection_wrapper=>sort_ascending
iv_stable = lv_stable ).
with the below code
me->typed_context->resultnew->collection_wrapper->sort( iv_attr_name = 'OBJECT_ID' "'TO' -- Added by Lokesh
iv_sort_order = cl_bsp_wd_collection_wrapper=>sort_descending "-- Added by Lokesh
iv_stable = lv_stable ).
Hope this will solve ur problem.
Regards,
Lokesh Banakar.
Similar Messages
-
How to create scheduled task to delete failure/open tasks
hi.
I have a question that I hope someone can give me some input to.
we have an OIM 9.1.0.1 installation and have a situation where we have around 14 500 open tasks. we read somewhere that this might cause performance issues. we have also found a HOWTO on Oracle Metalink that explains how to delete these tasks. i states that one should:
- Create a scheduled task which uses the API:
Thor.API.Operations.tcProvisioningOperationsIntf.setTasksCompletedManually
...and that's it. it doesn say anything else. doing this by creating a scheduled task in OIM Admin Console will not work since we don't have this Java class. is there anyone who has sort a similar problem? any help/tips/guidelines are appreciated.
P.S.: The Oracle Metalink HOWTO:
Link: [https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(from=BOOKMARK&bmDocType=HOWTO&bmDocDsrc=KB&bmDocTitle=How%20to%20%3Cb%3EDelete%3C/b%3E%20Failure%20or%20Cancelled%20%3Cb%3ETasks%3C/b%3E%20in%20%3Cb%3EOpen%3C/b%3E%20%3Cb%3ETasks%3C/b%3E&bmDocID=731282.1&viewingMode=1143))]
Edited by: user10378227 on Oct 27, 2009 1:07 AMUse this link:
How to create a new schedule task from java code
http://download.oracle.com/docs/cd/E10391_01/doc.910/e10361/tasks_archival.htm#sthref85 -
Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function
Hello
Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.
I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.
1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction
2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.
3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.
I have gone through the following post in SCN:
https://scn.sap.com/thread/2056959
I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.
If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks & if possible please share the code that needs to be maintained in that method.
ThanksHi,
Method DO_INIT_CONTEXT should be redefined
This should be redifined to get the collections with your required filter criteria.
* get the collection of entities for the tasks
lr_col = get_query_result( gc_status-open ).
If this does not help, Delete the collections which are not required after above selection but before this code.
me->typed_context->resultnew->collection_wrapper->set_collection( lr_col ).
Thanks
Ajay Singh -
System monitoring, open tasks are no longer visible in Tcode DSWP
Hello!
I have patched my Solution Manager with the newest support packages and have the problem with system monitoring, open tasks. All the systems have a long_sid.
I have implemented the SAP notes 1065285 and 1076772, but it was not sucessfull.
<b>As well as open tasks as system monitoring are no longer visible in the Tcode DSWP.</b>
Has some one the same problem or can help me to solve this problem?
Thank you very much
regards
ThomHello Thom,
did have a look at SAP Note 1038134?
If you are using Solution Mnager roles for System Monitoring the authorization check has changed and you need to maintain authorization object S_SOLM_ACT.
Best regards,
annett -
I open Firefox, use it, then close the window. Try to reopen Firefox and it fails with a message that a previous process is still running. Requires me to open Task Manager and kill the old process.
Try to wait a bit longer before reopening Firefox to give Firefox more time to close completely.<br />
Try to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.
See "Hang at exit":
*http://kb.mozillazine.org/Firefox_hangs
*https://support.mozilla.com/kb/Firefox+hangs -
I get this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.The task manager shows no open Firefox processes.I had two users on this laptop running Firefox and I tried deleting the program on both users. I then downloaded the newest version, installed it and I still get the error message as before. HELP!!!! I loved the browser program when it was working before and would rather use it than other browsers.
See "Hang at exit":
* http://kb.mozillazine.org/Firefox_hangs
* https://support.mozilla.com/kb/Firefox+hangs -
What are the attributes available on Task Status Notification?
Hi,
I need to send the information below when a task is completed or rejected. So I would like to know if they are available. I think so because I've got them from Task Status Notification (OIM standard email definition). If not, what are the attributes available on Task Notification?
<Tasks.Task Name> is <Task Details.Status>.
<Task Details.Status>
<Resource.Resource Name>
Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
Response Code : <Responses.Response>
Response Description : <Responses.Description>
Error Details : <Task Details.Reason>
Thanks,
Renato.
Hi,
I have implemented some java code to workaround the problem below... But I don't believe this does'n work in OIM :-):-):-):-) Please, tell me if you are using task status notification in OIM and if your email defintion has the variables below.
Thanks,
Hi,
One of OIM email templates is Task Status Email Notification. I am trying to notify the user (Notification tab) using this template but it didn't work. Even when I set the Object Name and Process Name values for an email definition, it does not work.
How have you implemented task status notification in your workflows? I think if this template exists in OIM, by default, so it is posible to have the information below during notifications.
I think I'll have to call Oracle's Support.
=======================================================
Subject: Process task <Tasks.Task Name> is <Task Details.Status>.
Body:
The Process task <Tasks.Task Name> is <Task Details.Status>.
The details of this process task are as follows:
Process Task Name: <Tasks.Task Name>
Process Task Status: <Task Details.Status>
Resource Name: <Resource.Resource Name>
Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
Response Code : <Responses.Response>
Response Description : <Responses.Description>
Error Details : <Task Details.Reason>
=======================================================
As I've said, the e-mail was sent but in blank:
The Process task is .
The details of this process task are as follows:
Process Task Name:
Process Task Status:
Resource Name:
Target User: []
Assigned to: []
Response Code :
Response Description :
Error Details :
Is it possible to have those fields available on notifications?
Thanks,
Edited by: Renato.Guimaraes on 23/10/2009 08:05
Edited by: Renato.Guimaraes on 24/10/2009 15:57
Edited by: Renato.Guimaraes on 26/10/2009 13:31
I didn't get any answer until now.. Below it is what I've done.
a) Create an entity adapter that is assigned to the post-update of the Specific Task Info data object.
b) Select the task information searching by SCH_KEY, for example (I have to do more tests)
SELECT
sch.sch_key, sch.sch_status, sch.sch_note, mil.mil_key, rsc.rsc_data, rsc.rsc_desc
FROM
osi, sch, mil, rsc
WHERE
mil.mil_key = osi.mil_key and
osi.sch_key = sch.sch_key and
sch.sch_key = ? and
rsc.rsc_key = osi.rsc_key
c) Load the e-mail definition template and replaces the fields
d) Sends the e-mail
With that I solved another problem: I have to send an e-mail always the assignee adds a note to the task.
Edited by: Renato.Guimaraes on 28/10/2009 08:51. How I did that
Edited by: Renato.Guimaraes on 12/11/2009 12:19
Edited by: Renato.Guimaraes on 13/11/2009 07:22 Changed the Thread SubjectHi Experts,
I want to extend my doubt a little more.
I have a requirment as below.
User will enter a range of Date say 01.06.2011 to 25.06.2011.
I need to show him data in two columns one cloumn for the entered day range and second column for prevoius month date rangei.e(01.05.2011 to 25.05.2011)
can i achive this without using Customer Exit.
Regards
Laxman -
I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete firefox going to windows task manager and process, also, i can't open a new window, it won't allow it. please help me, everything works on IE, Google Chrome and Safari, everything went wrong after the update
Hey Elaine07!
I have an article here that can help you with that issue. This article will help you make sure you have uninstalled iTunes correctly and help you troubleshoot the launch issues you are seeing:
iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
http://support.apple.com/kb/ts1717
Take care, and thanks for visiting the Apple Support Communities.
-Braden -
Sorry, I am new to the type of problem-solution process and I do not know how to edit my first statement. My true statement is below:
My pdf freezes when I click on COMMENT. I am trying to get at the tools to edit a pdf. If I use the tools from the toolbar, there is no issue, but once I click COMMENT, the document freezes and I have to open Task Manager to crash it. This started in the last seven days (3.31.15).I answered your questions below, BUT while I was searching for properties, I found the REPAIR ACROBAT INSTALLATION feature, did the repair and (Voila!) the issue was resolved!
Thanks for making me search for information.
Karen
I am using Acrobat XI Pro, version 11.0.10.32.
I did not create the file I was working in during the freezes, so I tried a PDF that I created with Adobe and it also freezes when I click on COMMENT. I did discover that the COMMENTS plug-in is loaded. (see image
I have used COMMENT for years without this issue occurring. It started in the last 2 weeks.
I could not find Properties under the file menu, but found a security setting in Preferences under the Edit menu. It did not have a way to allow/disallow COMMENT. -
I have to open Task Manager & quit the Firefox process manually b4 it will stop. When I did it the last time b4 I just uninstalled my memory usage was up to like over 300,000 with only 1 tab open. Just downloaded another copy/version & will reinstall. Hopefully this will stop the problem. thought you would want to know this.
The proper way to close Firefox is through the File menu "Exit" or the equivalent with the Firefox button.
More detail in item '''#38 Firefox already running '''
of
[http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6) (#fx4interface)]
Firefox already running, to properly shutdown Firefox when closing the last window use File → Exit/Quit (or Firefox button → Exit). Closing Firefox with the [X] in the upper right corner closes the window ("Ctrl+W") but that does not necessarily close Firefox if it has subtasks running. If you want to close and reopen Firefox use the "Restart" within Add-ons if you made a change requiring a restart, or install "[https://addons.mozilla.org/firefox/addon/restartless-restart/ Restartless Restart]" ("Ctrl+Alt+R") which will allow you to take Firefox down and restart without having to check the Windows Task Manager to see if Firefox first actually ended. [http://kb.mozillazine.org/Firefox_hangs Firefox hangs] -
Distributing the Leads to My Open Tasks
Hi Experts,
We are working with CRM WebUI. We have option of distributing the leads to employees via Distribute process in the Lead Header.
We would like to receive the distributed lead on the employees My Open Tasks List once employee has been selected in the distribution process.
Please note employee BP has already been assigned the user name i.e. SAP User Name.
Do we have any standard workflow or BAdi which can help me achieve this?
Best wishes, SanjayHello Sanjay,
here are my hints. The leads are not the same bussines object as the tasks, so they won't be selected for display on the homepage in the My Open Tasks.
There are more Options: have a saved search for the employes, and select all open leads. The saved searches are displyed on the homepage, and there is just 1 step more to be executed to get to the search result of the open leads.
Then you could develop a new view for the homepage, which is displaying the list of the open leads and integrate it on the page.
Have fun,
Erika -
Closing an open task programatically
HI,
I have created a custom component in order to establish connection to BPM .
The flow is such that , the connection gets established and i need to fetch the tasks based on the workflowInstance and user ID specified.
I am able to fetch the tasks from which i extract the task state.
Need to close the state of an open task i.e need to update the state of the task to close. Not able to do it.
How do i achieve this?
This is the piece of code that is supposed to perform the functionality.
Please have a look and provide your inputs in order to achieve the needed.
Function Call:
this.updateTaskOutCome(task1, "CLOSE");
Function Defnition:
public int updateTaskOutCome(final task,
final String outcome) {
// variable to show success or failure
int success = 0;
// creating reference for TaskQueryService
TaskQueryService taskQueryService = null;
// creating reference for WorkflowContextType for admin context
WorkflowContextType adminContext = null;
// creating reference for WorkflowContextType for user context
WorkflowContextType userContext = null;
TaskService taskService = null;
oracle.bpel.services.workflow.task.model.Task outcomeUpdatedTask =
null;
CredentialType adminCredentialtype = this.createAdminCredentialType();
CredentialOnBehalfOfRequestType onBehalfRequestType =
queryFactory.createCredentialOnBehalfOfRequestType();
// calling getService method og BPMConnection
//get taskQueryService Object from BPMConnection
//taskService = getService("taskAction");
//creating WorkflowContext for admin
//setting admin context to onBehalfRequestType
try {
taskQueryService = (TaskQueryService)getService("taskQuery");
adminContext = taskQueryService.authenticate(adminCredentialtype);
onBehalfRequestType.setOnBehalfOfUser("username");// admin username given
onBehalfRequestType.setWorkflowContext(adminContext);
//creating WorkflowContext for user
userContext= taskQueryService.authenticateOnBehalfOf(onBehalfRequestType);
// getting BPM Client for performing user actions
taskService = (TaskService)getService("taskAction");
// creating UpdateTaskOutcomeType object and setting its property
UpdateTaskOutcomeType updateTaskOutcomeType =
taskActionFactory.createUpdateTaskOutcomeType();
// //setting outcome
updateTaskOutcomeType.setOutcome(outcome);
//setting task
updateTaskOutcomeType.setTask(task);
// setting userContext
updateTaskOutcomeType.setWorkflowContext(userContext);
// calling webservice operation for performing user action
//setting success variable
outcomeUpdatedTask =
taskService.updateTaskOutcome(updateTaskOutcomeType);
} catch (StaleObjectFaultMessage e) {
Report.trace("mysectionstring",
"inside staleobject fault message catch block", null);
// } catch (WorkflowErrorMessage e) {
// TaskQueryServiceFaultType faultInfo = e.getFaultInfo();
} catch (Exception e) {
e.printStackTrace();
if (outcomeUpdatedTask != null) {
success = 1;
return success;
Thanks in advance,
BharathAny one facing similiar issue?
Could someone please provide some information.
Thanks,
Bharath -
Open task sequence log with cmtrace on error
Hi,
Is there a way to make an SCCM 2012 R2 task sequence automatically open the smsts.log (with cmtrace) when an error occurs?
J.
Jan HoedtI would agree with Torstren. The difficult piece would be determining where the smsts.log is, based on where its at in the task sequence. Once you have that it wouldn't be too difficult to place those steps in the
Gather Logs and StateStore on Failure group. The catch will be, even if CMTrace is open, the machine will still reboot after 15 minutes unless the cmd prompt is also open. -
Open Task Button does not come in Outlook
I have a three level approval workflow in which each level an email is generated to the approve to approve or reject.
But suddenly the Open Task Button does not pop up in Outlook 2010 anymore can you tell me why?
Srinivasan Kidambihad the same issue with External users not using Outlook. This is how I fixed it:
Open the task list that the workflow is using and connect it to Outlook. Then kick off a workflow to make a new task. Once the task is made open the task from Outlook. The bottom options (review, perform the specific req. for the task, and Open this task)
are now links. Hover your mouse over the link and you will see the address.
Now open SPD, connect to your site and open the work flow assc. to the doc lib.
Start editing the workflow and click the "Approval" link
Click "Change the behavior of a single task"
You are going to have to look for all the instances of "then e-mail task notification to "Current Task:Assigned to"
Open "Current Task:Assigned to"
Click where you want he link to go and hit the Hyperlink button
name the link whatever you want, then hit the string builder ("..." button)
Copy the link from the Task in Outlook into the string builder (if you use External addressing you can also hard code the External address).
At the very end of the link where is says ID=(then a number) delete the number and DO NOT put a space. Click the Add or Change Lookup button and use "Current Task: Approval" "ID" "As String" and click ok. Should like this:
Now this will not pop the form up, but it will send the user straight to the task form (might have to enter username and password) for the correct task. Remember to do this to all the "Current Task:Assigned to" in the workflow. It sounds like a chuck of
work but it does not really take thaty long on the OOTB Approval workflow.
Just wanted wanted to add my two cents.
Also check
http://social.technet.microsoft.com/Forums/en-US/417466a3-cdcb-4559-8453-9fff6da4aceb/getting-around-a-missing-open-this-task-button-in-a-nonoutlook-email?forum=sharepointcustomizationprevious
If this helped you resolve your issue, please mark it Answered -
EFFICIENT way of escalating an open task
I need to escalate TASKS that are still open after 31 days.
I figure i need 2 workflows to do this.
As i see it right now:
1st WF. Waits for 31 days after the task has been created. On the 31st day it changes a read only field called "escalate" to YES.
2nd WF checks for changes in tasks where: If (Status=OPEN AND escalate<>pre(escalate)) is true then send an escalete email or task.
Is there a more efficient way of doing this?
TIA
PaulIs there a reason you want two worfklows? Why not put an e-mail action after the Wait on the same workflow? If you check the "Reevaluate Rule Conditions After Wait" checkbox on the Wait action, the workflow rule will be re-evaluated after your 31 days... so it would only send the e-mail message if the Task is still open (assuming your workflow condition is set to look at Status = Open).
Chris
Maybe you are looking for
-
I sprayed it a year ago i really like the keyboard and i really need it can it be recovered??? My apple wireless keyboard got wet a year ago i sprayed the cleaning spray on it some of the keys are working but some of the keys aren"t working. it got s
-
Write/Read Permission​s in temp folder - Help!
Hello, I was playing with settings when I accidentally changed my write permissions in a temp folder and changed all of my user permissions. None of my programs work anymore except for my default programs. Can someone help me figure out how to undo t
-
Change font size of header in Table
Hi Friends, I have a Problem. I want to Change the height of the Header and it is possible to Change with Parameter "columnHeaderHeight". But only the Header is changing , not the underlaying area. The Picture Shows a gap between the first row and th
-
Sound not working macbook pro - intermittent
Yesterday, the sound on my computer was not working. Volume was turned all the way up on computer and iTunes. I restarted and the boot up sound was very quiet. Once, I logged in, I turned the sound up and the sound worked fine. Today, the same thing
-
How to extend data selection to the existing delta update without disturbin
Is there any way to extend data selection to the existing delta update with out disturbing the delta mechanism? I mean, is there anyway to add new delta init for the new data selection to the existing delta update without disturbing?