Criteria Workflow Issue

Hi,
I have a criteria workflow with only one step ,which is Review Step which has " Users can review and edit (replace) the current revision" selected .
The scenario is :
Author creates a content and and pushed it to the above mentioned criteria workflow.
The content goes for approval and the approver edits the content and after that the content is released in the system without going through the approval cycle where in the approver should approve the content after editing it.
Also even if the content item is in the workflow and approver has not approved the content and the author edits the content,the content is released in the system without going through the approval cycle ,which should not ideally happen ,it should go back to the workflow and only after approver approves it ,the content should be released.
What I  want to know is whether this is OOTB behaviour that it will not go through the approval cycle after edit action has been performed.
Also,In case if its not OOTB , what are the ways where in I can push the content back to the criteria workflow after edit action has been performed.
Thanks,
Garima

> I 'm doing the editing from the webcenter portal via the content presenter task flow
I guess the flag mentioned earlier is missing in the task flow - thus, it uses the default value (checked).
> I tried adding jump to previous step in the update event of the workflow step as thats the event thats being called
a) update event is called whenever the workflow is updated, or on timely basis. I guess you better use the exit event, which is called just once, when the item is to process to the next step (or the workflow finishes in the last step)
b) you cannot do just a jump. You will need a condition, so that the jump is performed only if it has to. Unfortunately, I could not find how the flag is represented in the service call parameters. Now, another question will be how to set it from WebCenter Portal's task flows. This will require further investigation, and perhaps, customizations. You might want to create a SR in Metalink to get assistance from Oracle support. They are really helpful and they might give you an answer, or at least a guidance.

Similar Messages

  • Criteria TwoStep workflow Issue

    Hi
    I have criteria workflow, which has two steps.. there are no exit or jump defined in my workflow...
    Issue: After approval in the first step of the workflow, the content is getting released to the system, not going to the approval for the second step
    Expected Behavior: After taking the approval from the first step it should go to second step & take approval in second step & should be released to the system.
    Thanks,
    AR

    Its simple workflow, which has two steps
    In first step if user approves & it should go to second step and after approval in second step it should be released to the system...
    Issue: After approval from first step the content is getting released to the system, without going to second step.
    No jumps or exit or Idoc scripts used...
    In the first and second step exit condition is All reviewers...
    Thanks,
    AR

  • Purchase order workflow issue

    Hi All,
    A PO is created and rejected by a user in user decision step.The workflow will end.If the PO is changed(amount) again,the release strategy is triggered for the same user.But the workflow is not triggering.If the release strategy is for a different user,its triggering the workflow.I have used a fork inside which 1 parallel branch contains a wait for significantly changed event & another branch contains the user decision step,po release step & rejection reason scenario.
    Please refer the thread below.
    PO Release Strategy Issue
    Replies will be greatly appreciated.
    Edited by: Feddie on Jan 3, 2008 11:43 AM

    Hi,
    This is not workflow issue(work flow is different term)
    It seem problem of BADI (program written for creation of purchase order based on sales order)
    Take help of ABPer so he/she can solve this issue
    Kapil

  • How to convert a word document to PDF from a criteria workflow

    Hi,
    How to create a new revision in PDF format from a word document inside a criteria workflow? The inbound refinery converts documents to PDF automatically upon check-in, but I want to make the conversion in a specific step of a workflow.
    Thanks,
    Miguel

    You could write a custom service and execute it within the workflow script using the executeService Idoc function.

  • Troubleshooting Approval workflow issues

    We are getting this message from time to time and are unsure how to troubleshoot it.
    It seems as though something is changing the document, what is the best way to figure out what?
    Approval on DOCUMENT NAME has ended because the item that the task process is running on was changed.

    Hi Daniel,
    1.What message do you get?
    2. Look in the Workflow History list, eg "http://sp2013/Lists/Workflow History". Do you find any errors in there?
    3. Is the user account starting the workflow correctly synchronized in the user profile database?
    4. Is the user account starting the workflow different from the Worflow Manager setup account? (more info at
    http://technet.microsoft.com/en-us/library/jj658588.aspx#section7)
    5. Are the User Profile Service and App Management Service started? See the green frames in the screenshot below, taken from Central Administration \ Manage Services on Server.
    6.Are the App Management Service Application and User Profile Service Application started? Their proxies should be started as well. See the green frames in the screenshot below, taken from
    Central Administration \ Manage Services on Server.
    For troubleshooting sharepoint workflow issues, you can have a look at the blog:
    https://technet.microsoft.com/en-in/library/cc298927%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
    http://ranaictiu-technicalblog.blogspot.com/2013/03/sharepoint-2013-workflow-debugdiagnosis.html
    https://infopathandsharepointdesigner.wordpress.com/2013/12/13/five-top-tips-for-troubleshooting-sharepoint-workflows/
    http://blogs.technet.com/b/victorbutuza/archive/2009/02/26/how-to-enable-workflow-tracing-debug.aspxBest
    Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Workflow issue in HR Process and Forms

    Hi Experts,
    I am new to HR process and Forms.
    I am facing workflow issue in "change of position" process.
    The process is not going from manager to HR admin.
    Can anybody help me out on this.
    Thanks in advance
    Regards
    Rahul

    Hi Sahir,
    Thanks for your quick response.
    I checked in swi1  but it is showing "no entry exists"
    I have done all basic settings using PFTC and OOCU_RESP tcode but still it is not working.
    is there any other customizing that is needful??
    Regards
    Rahul

  • Criteria workflow -in between steps

    Hello,
    I have a criteria workflow with two documents linked together (through a custom component). I want them to be approved together.
    One document cannot leave the step without the other one.
    How could i send one of them, after being approved by User1 in an "pending/waiting" state (or at least remove it from his "Worklist Assigments"), somewhere between the steps.
    I want the document out from the User1's "worklist assignments" but not in the User2 "Wk assignments", untill the second document isn't also approved by User1.
    Is there something like dStatus = "pending" in basic workflows ?
    Can anyone help me , pls ?

    One thing I've done in the past is to use the extra exit conditions or additional update event criteria (code) to hold the docs in place until I want them to move.
    I might do something like this:
    1) create a companion file variable to act as a flag stating when it has been approved.
    2) because the update event evaluates in the event of an approval write some event script that a) looks for the approve event b) if found checks for any other constraints - like a linked document that has not yet been approved c) sets the "I have been approved" flag .
    In your example, Doc 1 is approved but the extra exit condition looks for the"I have been approved" flag for itself AND it's linked file, Document2. When Doc 2 is approved the code extra exit condition sees that both Doc 2 AND Doc 1 have been approved and allows them to progress.
    It is best to think of workflow steps as logic containers rather than sequential events. Using jump logic you can trigger the movement (flow) of documents to any container you want and under the conditions you specify (such as only when my linked file is also approved).
    hope this helps.

  • Workflow issue with interco transactions & general ledger entries in F-02

    Hello Experts,
    We are encountering a workflow issue when we are entering intercompany transactions with general ledger entries in F-02. Our workflow is set up with two release levels and the details are as follows:
    Amount below $2500 - single release level
    Amount above $2500 - two release levels
    The document type that we are using is SU and it is configured with intercompany postings and trading partner enabled in the control data.
    After parking a GL document that has interco amount entries below $2500 and general ledger amount entries above $2500 in F-02, the document is supposed to go to the two release levels in the workflow because the total amount is above $2500 (interco amount + general ledger amount > $2500). However, in the workflow, the document went to the single release level instead of the two release levels.
    Any idea why the subledger amount takes precedent over the general ledger amounts in determining the workflow release level?
    We would appreciate your help in solving this issue.

    You cannot change the design of the system.
    SAP may consider the change of design if all the users across the industries are reported. If a single user has a special requirement, it cannot be changed.
    You need to ask, whether this is a critical requirement for your business. Otherwise, please follow the standard way.

  • Oracle UCM custom Criteria Workflow

    I am looking for some help.
    I am trying to create a criteria workflow based on a document type. I have used the command wfrelease to commit all metadata to the repository in the entry step.
    The user in the workflow will either approve the workflow or select from a custom metadata field option list called "status". Once a user sets the value to "rescan" in the "status" option list I want the user to reject the workflow. Once rejected we want the workflow to be sent to an alias and not the original author.
    If the user sets the value of the "status" option list to either "return", "reroute", or "invalid" value and rejects the workflow then I want the workflow to be routed to a different alias.
    Is this very difficult to accomplish? What steps would I need to create? I am pretty sure somehow I need to create tokens for the 2 different aliases and call them on reject but I am having trouble putting all of this together.
    Thanks in advance for your help!

    Hey Data Bitz
    The good news is that yes, all this can be done with some configuration and a bit of workflow scripting.
    Several items:
    1) I'm not seeing a reason why you need to use WfRelease in the entry step. Workflow users can still access and alter the metadata for routing as you describe. Do you want the item to be indexed (to appear in the search results lists)?
    2) While there are several ways to do this I would envision a two step workflow. Step one is your "rejection handler" step 2 is your user review step.
    first time through content passes through step one with a criteria based jump in the entry event of that step. The criteria is along the lines of if step entry count <= 1 then jump .
    Make sure that step one is an edit and review step. Step two is where the user either approves or sets the status metadata field to some other value. If s/he approves, the content is released (or goes on to subsequent steps).
    If the status is changed then you want to trigger a rejection. This brings me to point 3...
    3) Do you want "rejection" or do you just want to rout the content to another set of users for review. The reason is that rejection is logged as a "rejection" Workflow Action in the database. If you are tracking or reporting against this then you'll want a "real" rejection. If you just want the item to be routed to an alias that is based on the value of the status field then this is different and can be achieved without a full blown rejection action. The choice is yours and the impact is really just on reporting and the routing behavior of the content object.
    4) so lets say the user sets the status to "rescan". Remember we're in step 2 here. Use the update event of step 2 to look for the Metadata Update action. Because the update event of the workflow step acts like a loop it is able to pick up the metadata updates that the user executes. Configure a jump in the step event to say +if there has been a metadata update action then check the value of the status metadata field.  if the value of the status metadata field is "rescan" then perform this action, if the value of the metadata field says some other value (either "not rescan" or "return", "reroute" etc) then perform this other action+
    5) So if you really want a true rejection then the this action from above will be a bit of IDOC to execute with WFREJECT service. You'll need to pass along the appropriate parameters for the service (see pp 348/349 of the services reference guide for the WF_REJECT service and required parameters. The guide is here: http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/services_reference_10gr3en.pdf). If you just want to route the content to another set of users then the this action and this other action are actually the same and you can jump back to step 1 with a jump script. While the actions are the same, the users will be different and we can handle this with some basic workflow configuration scripting as well. Now here is where the fun begins.
    6) So you're back in step 1 either because the WF_REJECT action happened or because you jumped here. The status field set to "rescan" or some other value like "return", "reroute" etc. Go back int the entry event of step 1. This is where the pass through code from item 2 above was written. The cool thing about the entry event is that it gets evaluated BEFORE step users are set and email notifications go out. This means that you can set any kind of user decision logic right in the event. So beneath the pass through code I would create another block of workflow scripting that does the following: gets the value of the status field - you can do this simply by referencing the metadata field name - e.g. myVar=xStatus. If myVar="rescan" then set a companion file variable to the name of the alias you want - e.g. +<$if myVar="rescan"$><$wfSet("reviewerAlias","YOUR_ALIAS_NAME")$><$endif$>+ If you're unfamiliar with the companion file, see pp 18 of the workflow implementation guide (link below). Think of it as a temporary memory cache for each item in workflow. It is a place where any key value pairs can be set and retrieved for any document as long as it is in workflow. Keep setting the value of "reviewerAlias" to the different alias names based on your IF condition. for example:
    +<$if myVar="rescan"$><$wfSet("reviewerAlias","YOUR_ALIAS_NAME")$><$elseif myVar="return"$><$wfSet("reviewerAlias","YOUR_OTHERL_ALIAS_NAME")$><$endif$>+
    7) Finally you have the content in the right step, you have evaluated the metadata and have set a variable in the companion file with the correct alias name you want to be the users for the step. The last thing is to retrieve that alias name and set that alias as the step user. Remember that workflow is able to set either individual user names (singly or CSV) or ALIAS names as step users. Remember that an alias in UCM is a list of user names. You will use a token in step 1 to retrieve the value of the companion file key and set the alias to be that user. The token code is straight forward but if you want a walk through then check out the adding ad hoc step users section in chapter 9 of the workflow implementation guide here:
    http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/workflow_guide_10gr3en.pdf
    Your token code will look something like this:
    <$wfAddUser(wfGet("reviewerAlias"), "alias")$>
    The wfAddUser function is the token code. It is what adds the step user and it take two parameters - parameter 1 is the name or names of a user or alias. parameter 2 is the type either "user" or "alias".
    So this give you a fully dynamic workflow that allows the routing of the items to be fully dynamic and driven off of metadata - something that is very easy for end users. It also allows the reviewers to be dynamically set using tokens and a bit of idoc. No coding outside of the workflow admin applet has to happen at all.
    Of course, my company, Fishbowl would love to talk with you more about what you're doing and see if we can provide any additional service to you. Please let me know!
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • Criteria-Workflow to start BPEL-Process

    Hi,
    I'm currently building a proof of concept for a wokflow-implementation using WCC and Oracle SOA/BPM-Suite. Therefore I've activated the BpelIntegration component of WCC and set it up as described in http://docs.oracle.com/cd/E21764_01/doc.1111/e16759/c03_config_ucm_bpel002.htm.
    However I'm a bit confused of the meaning of the users I assign to the criteria-workflow (according to http://docs.oracle.com/cd/E21764_01/doc.1111/e16759/c04_config_cs001.htm).
    I've assigned an "Additional Exit Condition" with the rule "wfGet("conversationId") and obIsInstanceClosed("process_3", wfGet("conversationId"))".
    As far as I understand this, I must at least assign one user. If I then choose to say at least 0 (Zero!) approvers, I've got the following behavior: The BPEL-Process is started, however the the WCC-Workflow ends immediately. There is no waiting for my additional exit-condition.
    If I choose 1 approver, the workflow waits for both the BPEL-Instance to get closed and the assigned user to approve.
    Is there an easy way to wait for the BPEL-Instance to close but not for the user to manually approve? I thought of doing the approve programmatically using WCC-Webservices from my BpelProcess, however this is not really what I would like to do. The reason I'm asking for this is that this would allow it to do the more document-centric parts of the WF in the Criteria Workflow while doing the approval itself completely in BPEL.
    Any best practices or hints regarding this? Or is there some additional documentation or samples? The only doc I found is the "Oracle® Fusion Middleware BPEL Component Guide for Content Server" that doesn't cover much details.
    Regards,
    Johannes

    Hi Johannes,
    I understand your point. To clarify I will guide you a bit through history.
    At Stellent times, prior to acquisition, native workflows (criteria and basic) were the only OOTB mechanism to implement workflows. Note that unlike BPEL and now even BPM workflows, native workflows have also impact on items behavior in the system - the item has a special status (REVIEW, not DONE or RELEASED), is not searchable, etc. The obvious disadvantages of native workflows are:
    - they are old fashioned (no graphical design)
    - they are proprietary (for everything, but the linear flow you need an idocscript)
    Also, at the time of acquisition, Oracle had more than 10 workflows engines. Therefore, shortly after that it has been announced that WCC (UCM at that time) will contain restricted use of BPEL PM (the BPEL runtime engine + free JDeveloper for design) to enrich workflow design/runtime experience. There are two possible ways of usage:
    - the way you described (start a criteria workflow, handover to BPEL and somehow synchronize the two), or
    - you do everything in BPEL and call UCM via web services. Note that this way you lose the status-related functionality
    I would not dare to comment on best practices, but it seems that in reality you have two options:
    - call a web service from BPEL (at the end of BPEL workflow) to approve/exit the native workflow
    - set a flag (also via a web service) and on the UCM side implement an idocscript (most likely Additional Exit Condition) to auto-approve the workflow, or process to the next step, if you will
    Note that the way when you do everything in either WCC, or BPEL has another reason: WCC native workflows have its own GUI, and BPEL worklists are not OOTB integrated into WCC's interface. This has changed already, since introducing the umbrella WebCenter concept. Note, however, that the front-end product where these two meet is WebCenter Portal, not WebCenter Content.
    Furthermore, for about a year ago Unified BPM Suite, which is the flag ship in BPM for Oracle, has become a part of WCC license. I did some survey on this point and it seems it's not easy (if possible at all) to bind criteria workflows with BPM ones. There is, however, a referential presentation which demonstrates how to add a document(no statuses, no workflows in WCC) to a BPM process, and this seems to be the way (no guarantee!) where the products aim.
    I have also noticed that whilst in PS5 ( http://docs.oracle.com/cd/E21764_01/ecm.htm ) the BPEL Component manual is still present, in PS6 ( http://docs.oracle.com/cd/E23943_01/webcontent.htm ) it has disappeared.
    I am eager to hear the news from product management.

  • LR 3 Bug Report - file renaming error - significant workflow issue

    System configuration:
    MacPro Dual 2x2.66Ghz Dual Core Intel Xeon
    9GB RAM
    OSX 10.6.4
    Lightroom Application on System Drive
    Canon .CR2 files and Lightroom Catalog on internal software-based RAID drive
    Camera Raw Cache set to 50GB and resident on System drive
    Here is the issue:
    Once I finish the first round of editing a group of photos, I then rename them with the title of the event and a sequence number. I use LR's batch rename feature in the Library module. If I then delete 1 or more of these photos and attempt to rename them again(same event title + numerical sequence), the new names do not properly apply the numerical sequence after the filename. Either of the following can happen, and whcih one will happen is not dependednt on what I do.
    1. The files can be renamed, with the first image having a sequence number 1 number higher than the lowest number I typed into the sequence box in the batch rename dialog (if I type a number 1, the sequence starts at 2). There are also random gaps in the sequence numbering scheme. For example, the numbers will count to 15, then skip to 17, then count to 176, then skip to 178. The rest of the files might be renamed correctly, or there might be gaps. The gaps always skip a single number, and most of the time the numbers skipped are odd numbers, though numbers with a 16 are usually skipped (16, 116, 216)
    2. The files can be renamed as mentioned above, but with the addition of a -1 to the end of the sequence (example: filename-200-1 or filename-3-1). The addition of the -1 is also random, though it is more common with lower-numbered files than higher-numbered files.
    I have experienced this bug on groups as small as 50 photos or as large as several hundred.  I have tried remaning the files to a completely different text/sequence combination and then back to the one I want, and it does not help the issue. The sequence numbering is more likely to have more gaps the more virtual copies are present in the series of photos being renamed.
    This is a major workflow issue for me because the files I deliver have to be named sequentially, without gaps, following a specific text/numer naming convention. The bug is currently adding many extra hours to my post-production time. Any assitance would be greatly appreciated.
    Thank you

    Thanks for the detailed description.  I was able to repro this with your steps and have logged a bug for futher investigation.
    Becky

  • Criteria workflow questions

    OK, so by my previous postings it is probably obvious that I am fairly new to UCM and Records Managment. I have a new challenge and feel stumped.
    So, there are three custom metadata fields. One is called 'Reminder Expiration Date' the others are called 'Record Keeper' and 'Record Keeper Email'.
    When checking in a new record, all of these custom fields are required.
    The purpose of these fields is to notify the record keeper via their email on the reminder expiration date.
    So I did a lot of reading and think that I need to create a criteria workflow. I went through the process of creating a template and the criteria, but I know I am misisng some significant informaiton. Can anyone give me a little more help here on how I would create a workflow that is triggered off of the 'reminder expiration date' and gets sent to the 'record keeper email'?
    ok, just wanted to add in a little more.... so I am thinking that in the step event script I would enter something like this in order to notify the record keeper..
    <$wfNotify(wfGet(xRecordKeeper),"user")$>
    As always, your help is greatly appreciated!
    Edited by: Pattigo on Apr 9, 2009 1:03 PM
    Edited by: Pattigo on Apr 9, 2009 1:15 PM

    Criteria Workflow: I'll assume you already get how content joins the workflow (via simple metadata criteria).
    You made the three fields in question required, which is great. Now we can always assume they are present. You might want to work on some custom validation for them to ensure cleaner data, but that's another story for another day. Workflows have something called entry, update and exit "steps". The update step executes roughly once each hour. In that step you can write iDocScript. You will have access to the metadata about the document (including your three fields). You could check to see if the current date exceeds the date in the metadata field. If so, you could send an email, perhaps with the wfNotify iDocScript function. Then, maybe you could blank out the expiration field? Not sure. You would need some way to say "Hey, this has been sent alreadY" because that update cycle is going to keep kicking off each hour after that.

  • Workflow issue after upgrade to ECC 6.0

    Hi,
    we are facing an workflow issue and thought if someone has faced similar issue and could help us.
    We've an approval workflow for purchase requisitions through release strategies. For some steps, if the approver is 'WF-BATCH' user, we are executing that step using a program. This program first set the workitem to completed status( this part is working), then it will close the purchase requisition to release status for a particular release code( this part is working) and then we are triggering the 'RELEASE' event for the business object providing the Object key which should take it to the next step( THIS IS NOT WORKING). The business object is custom. This was working perfectly in 4.7 version of SAP but this logic is not working in ECC6.0. we are using SAP_WAPI_CREATE_EVENT to trigger the event. But the workflow doesn't move on to next step.
    Have anyone of you have any idea as why this might be happening. Any information on this would be of great help.
    This is happening in ECC 6.0. USED TO WORK IN EARLIER VERSION.
    Regards,
    Sam K

    Hi,
    Is WF-BATCH having proper auth. ?
    Or, if you are using the FM SAP_WAPI_CREATE_EVENT in some program and is scheduled as a batch job, then that user under which this batch job is runnign should have proper auth. to raise the event. Please check those.
    Also, what the error (if any) says in SWEL ?
    venu

  • Workflow issue-Agent not maintained

    Hi All,
    I have a workflow issue. For a PR, the workflow is throwing up the error as :
    "Agent not maintained for plant XXXX planner group XXXX release code.
    Please maintain an agent for the above key in the Agent AssignmentTable,and forward the workitem with text "Release requisition XYZ" in your Workflow inbox to an appropriate Approver."
    Please help me out on this one.
    Thanks,
    Swati.

    HI
    Check 'Agent Assignment' in not green..
    Then push the button 'Agent.Assign for TASK' in front of 'Agent Assignment'.
    Next, You can go the maintain screen.
    Push 'F8' or 'Attributes...' and check 'General Task'.
    and try again..
    Good luck

  • Hierarchy of criteria workflow activation

    Is there a specific way in which criteria for Criteria Workflows are evaluated? I'm trying to determine what would happen in the following case:
    If I have 2 criteria workflows - one is checking for a content type (let's call it encyclopedias) and the other is checking for an account (let's call it librarians) - what happens when both are true? Is the item put into one workflow, followed by the other? Is an error generated?
    Thanks

    According to the UCM 10gR3 Workflow Implementation Guide (page 35): "+If a content item matches the criteria for two different workflows, it will enter the first workflow in the list of defined workflows.+" Hopefully this helps.
    Thanks,
    Jon Chartrand

Maybe you are looking for