Service Requests get intermittently closed by the workflow account.

I am noticing that a workflow has changed some service requests from in progress to Completed although there are still pending activities in the Activities area.  Does anyone know how to troubleshoot this?

Close, but recall that Status is an enumeration. So the value is actually a Guid. There's two ways to set it..with the Guid directly:
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$">50C667CF-84E5-97F8-F6F8-D8ACD99F181C</Property>
or with an MP reference like this:
<Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$">$MPElement[Name='CustomSystem_WorkItem_Activity_Library!ActivityStatusEnum.Ready']$</Property>
The $MPElement token automatically references the Guid for that particular mp element..and it's more readable by a human :) (Unless you start memorizing GUIDs for fun..not that I recommend that)

Similar Messages

  • How to get jcr Session in the workflow?

    Hi,
    I'm using CQ 5.6 and I would like to know how we can get jcr seession in the workflow?
    API: com.adobe.granite.workflow.WorkflowSession;
      It doesn't have getSession() method as we have in com.day.cq.workflow.WorkflowSession.
    Any pointers would be helpful..
    Thanks
    Siva

    Adapt the workflowSession object to a JCR session.
    Session session = workflowSession.adaptTo(Session.class);

  • Service Requests Open 5 days?/Service Requests Open and Closed Today

    Help!
    How would I determine service requests open greater then 5 days, I use the # of Open SR's but cannot seem to get a date to work.
    Also what is the best way to count the SR's open and closed on the same day?
    Thanks in advance.

    You need to include a TIMESTAMPDIFF function in your filter... something to the effect of
    TIMESTAMPDIFF(SQL_TSI_DAY,"Service Request"."Create Date",CURRENT_DATE) > 5
    Double check the column reference.
    Mike L

  • Getting dump during opening the workflow definition

    Hello Experts
    I created one Workflow 2 months before and it was working fine till yesterday. when I check the workflow definition by clicking on push button 'Workflow builder' from transaction 'PFTC', I got dump.it is not opening workflow definition.
    I tried to open the workflow definition is from transaction 'SWDD' but I got dump from there as well.
    the short text of the short dump is  'Access via 'NULL' object reference not possible'
    I check the tables and all the steps included in workflow is present.
    Could you please let me know what could be the issue and how can I resolve it.
    Thanks in advance for your help.
    Edited by: Vibhor Goyal on Jan 11, 2011 11:50 AM

    Hi Vibhor,
    Is this issue happening with all the users trying to open this particular workflow?
    If this is a user specific issue, then it could be authorization or roles related. Else it could be more serious than it looks like.
    Also, check with the basis team if there were any OSS notes / patches applied in the system since yesterday which could have resulted in this issue.
    Hope this helps!
    Regards,
    Saumya

  • How to get host name in the workflow?

    Hi,
       I've a requirement where I need to get CQ Inbox url (http://<hostname>:<port>/inbox) in my custom workflow process. I thought of configuring url to some node and retriving from there.. but It's not the good approach as host name will be different for differnt CQ environments. So what is the best way of getting inbox url?
    Env: CQ 5.6
    Thanks
    Siva

    Yep Justin, If the configuration is wrong, any link generated would also be wrong.. I mean, default configuration will be some thing like..
    I mean, I can change those configurations as per my instance host name, right?
    Example: my instance's host url is:  mytest:1501
    So I would like to update the same in configurations ..

  • AFter the latest download, my e-mail service keeps getting a bar at the top "Firefox prevented this page from automatically redirecting to another page". I have to keep hitting the "Allow" link? How do I get rid of this?

    Ever since the last update, I'm having problem accessing my e-mail account. I keep getting an annoying bar at the top of the screen "Firebox prevented this page from automatically redirecting to another page." I have to keep hitting the allow button, sometimes twice. And when I do get into the accounts the bar jumps in and out every time I open a new e-mail, or delete and old one.
    How do I get rid of this. I've had this account for years, with a very reputable private e-mail provider. This is nuts.

    See:
    *Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Tools > Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • How can I get colors closed to the Nikon 5100 defaults?

    Hi!
    I noticed a big difference between CaptureNX and Lightroom colors for Nikon D5100 RAW. How can I make it look closer?
    Thank you.
    Lori
    http://www.seniorsoftware.ro
    http://www.seniorerp.ro

    Thank you so much. I will try it asap.
    Lori
    http://www.seniorsoftware.ro
    http://www.seniorerp.ro

  • I have two apple accounts on Itunes, I redemmed a card on one but I want to use it on the other account. how do i get it over to the other account?

    I have two itunes accounts. I redeemed money on one account but  I want it on the account. How do i do that?

    Click here and request assistance.
    (78828)

  • I have 2 Gmail accounts - how do I get contact details from the 2 accounts uppdated in my iPhone3gs? Only one shows

    I have 2 Gmail accounts, one Google Apps account and one regular Google account.
    I use one for my business and the other for personal use.
    Each account has a number of contacts (business contacts in the Google Apps account, and personal in the other). My problem is that when I made the configuration, only my personal contacts shows, not the one in the my business account
    E-mail and calendars work just fine but the issue with contacts really bothers me. Can some one help?
    Thanks!!
    Andrés

    You can't sync contacts between iPhone and Google directly and (i've tested this right now) you can't sync iTunes with two Google Accounts but only with one Google Account.
    There is only one solution: First go to your private Google Account (use the website) and select Contacts. Select all contacts and export them as vCard (for Apple addressbook) and import them into iCloud addressbook. Now do the same with your business Google Account.
    It is possible that there is a 3rd-party software which can do this automatically but i don't know any. Sorry!

  • TS3276 I am unable to access mail on icloud or send mail through the icloud account.  How can I get mail routed through the icloud account.

    I am unable to access mail on icloud or send mail through the icloud

    Here is how to set up your iCloud email account:
    http://www.apple.com/support/macosx/mailassistant/

  • Close all related service request after closing master service request

    Hello Experts
            I have configured the service request 2000223.Now i have a requirement,that in any disastrous case, one service request will be made and other service request in that category will be linked to the main service request and after closing the first one or master service request  others will be closed.
    Please guide me
    Thanks in advance

    Hi Rashmi,
    You can follow below links, first will give an Idea about Master Service Request and Second one will provide you the configuration steps;
    Service Request Management with SAP CRM 7.0
    https://help.sap.com/saphelp_crm700_ehp01/helpdata/en/df/379cd1ec6c4de5984f38bd30b03a9c/frameset.htm
    When you click on second link on the right hand side you'll find the option of download and in another window you'll get the steps.
    Regards,
    Kamfrk,

  • Report to show Service Requests that are open on a day selected by the user

    Dunno if I'm being thick, but I can't see how to do this in a report/dashboard...
    The user selects a day and the report pulls back all the Service Requests that were open on that day using the following logic...
    Service Request Opened Date <= Selected date & Service Request Closed Date >= Selected date
    Is this possible?

    You can do this with a report or a dashboard.
    For a report, create a report your subject ares, like Service Request. In Step 3, Create a prompt on your date and choose Column Filter Prompt. Give the prompt a caption ("Enter/Choose Date" for example). Choose the date field for the Filter on Column. Determine how you want the users to select the value and hit OK. My experience has been that you need to let users type in the date, as opposed to choosing from a drop-down list, because of the volume of data and performance reasons, but test it to determine what works best for your needs.
    For a dashboard, you would need to create a dashboard prompt for your dashboard report. You do this by creating a new report on your intended subject area, i.e. Service Request. Instead of creating the report as you normally do, you need to click on the Create Dashboard Prompt button at the top left, just below the Oracle logo. Choose the right reporting area, then complete the prompt details. Don't forget to allow for the prompt in your report.
    I always recommend that you consider purchasing a great book on reporting, written by Mike Lairson. It is an excellent resource for nearly all of your reporting questions. You can find it on amazon.com.
    http://www.amazon.com/Oracle-Demand-Reporting-Osborne-ORACLE/dp/0071593047/ref=sr_1_1?ie=UTF8&s=books&qid=1274893170&sr=8-1
    Good Luck,
    Thom

  • Milestone Error when changing the status of service request.

    Hi Expert.
    I got an issue where service request is displayed with an error "Item 10: Start and end dates must be identical for a milestone date".
    I took around 200 service requests and observed that in the change history, the response profile of the contract was changed. We also observed that whenever service request contain these errors, automatic change of status is not happening.
    Unfortunately I'm not able to reproduce this error in Quality system.
    Kindly advice on how these errors can be resolved and how these can be reproduced.
    Thanks in advance.

    You can ave a runitme event or workflow triggered that can generate such behavior.
    First increase logging on your object manager (evtloglvl :) ) and look at any error message.
    Second assess with your development team what automation has been setup ranging from script, Business Services, workflow to assist you in troubleshooting.
    Best Regards
    Evtloglvl

  • Workflow issue -  on service request

    I have a workflow on Service, which is to create several tasks automatically right after a Service Request is created by the user. I test and it works well as expectation by my side. The issue which is suffered by some users is that, it doesn't work when they create Service Request by the "New" button on a Service Request detail page, however, it works normally if they create Service Request by Create box on the left bar. And I also tried to login using the issue account by my side, no problems happened.
    So I guess could it be any problems with user's IE setting or something? Is there any suggestion to help? Thank you in advance!
    Regards, Lucy

    Hi,
    Thank you for your advise. I tried but still failed. Now the problem is turning to only with admin account could the workflow work well. Because I've done testing on the same pc. The result is admin account works, while user account doesn't..

  • How to Create Service request to notify the customer

    Hi All,
    Could u please tell me the which function module is used for  Create Service request to (SAP-CRM) notify the customer

    Hi Prajit,
    I have an assignment to create customized service request, for submitting user access request by using service desk, this template which i need to create different from the Standered one, which created by SMRQ (i guess).
    As far as i know from diff forum, when we submit an request order, internally system create service request for each approved item line.
    My requirement to just create below request (template), so user can submit access request by using Solman service desk (service request).
    Please help me.

Maybe you are looking for

  • How to do md5 checksum in PL/SQL in 8i

    Is there any function in PL/SQL for md5 checksum?

  • Should I uninstall older adobe products before downloading CC?

    should I uninstall older adobe products before downloading CC?

  • Why is PDF scrolling not always smooth and very slow?

    With some of my adobe reader pdf's, when I scroll along, it goes super slow.  Sometimes, when I stop scrolling, the document keeps moving for several seconds, so I then have to scroll back up to where I wanted to be.  Why does this happen with some d

  • Using Aperture like iPhoto

    Hopefully this will be my last dumb question. I disabled the previews stuff and now the program runs much better, but still not as smooth as expected. One question I have is, when I am in the layout mode (altcmdb) - the one where it gives you all the

  • App installation stuck on "Waiting..."

    I tried installing an app on my iPad (with OS 4.2.1) over our WiFi network, and it was taking an extremely long time without the progress bar even starting to fill up. Now there is a greyed-out icon for the app with the word "Waiting..." and an unfil