Multiple condition does not work
Hi,
I took a copy of the standard Leave request workflow (WS12300111) to a new workflow (WS90000002).
The class that was used in this workflow (CL_PT_REQ_WF_ATTRIBS) was also replaced with a copy (ZHR_CL_PT_REQ_WF_ATTRIBS).
The workflow is used for the approval of leave requests.
Now in the workflow there is a multiple condition which verifies whether the request was approved, rejected or withdrawn (this was also there in the standard).
The condition contains the rules:
Approved &REQ.STATUS& = POSTED or &REQ.STATUS& = APPROVED or &REQ.STATUS& = ERROR
Withdrawn &REQ.STATUS& = WITHDRAWN
Other values Rejected
--> REQ is an object of the class mentioned above. The rules were created in the normal way by clicking on the object in the container.
The workflow always stops at this condition, because it can not define the value of REQ.
If I check the container in the workflow report, the field REQ and its STATUS are correctly filled.
What could be wrong here?
Thanks,
Wim
Hi,
I solved it...
Just had to add a commit work to the task that is executing the status change of the request.
Kr,
Wim
Similar Messages
-
Why condition does not work.
Hi Pros,
in my bex query, there is a CKF OT hours, having a value 30.000, when I set a condition for 'OT hours = 30.000', but get no result out. could you please tell why condition does not work.HI,
please check the "Characteristic Assignment" Tab in change condition window.
In that tab default selection as "All Characteristic in the drill down independently" change that selection as "Individual characteristic and Char. combinations" and choose the particular characteristic. for ex OT hours against employee means select employee alone.
Regards
Sureshkumar C -
Hp 6700 option to scan to single file or multiple files does not work-scans to single files only
Cannot find a way to scan multiple documents to a single file. The option on the Scan function does not work!
Hi @apdamw
Have you tried saving the scanned pages as a PDF? When you choose PDF in the format option, you will see the option to choose save all pages to a single file, or create a seperate file for each scanned page. Depending on what option you see, you will need to tick or untick the option.
Please click the Thumbs up icon below to thank me for responding.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Sunshyn2005 - I work on behalf of HP -
Tree Multiple Selection does not work ???
Hello, while migrating my application from Flex 1.5 to Flex
2, I had the disgreement to discover that multiple selection in
tree does not work anymore.
I event tried the basic example found in Flex documentation
(see below), which does not work
Please, I need this feature in my application ! How can I do
? Is it normal ?
ThanksMultiple selection in the tree was removed for the General
release.. I am sure they plan to put it back as soon as possible.
Tracy -
[CAML] AND condition does not work!
I have written this code.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
ClientContext c = new ClientContext("http://sp2013");
Web w = c.Web;
c.Load(w);
c.ExecuteQuery();
List l = w.Lists.GetByTitle("Discussions");
c.Load(l);
c.ExecuteQuery();
Console.WriteLine(l.Title);
CamlQuery query = new CamlQuery();
query.ViewXml = "<View Scope='Recursive'><Query><Where></And><Eq><FieldRef Name='ParentFolderId'/><Value Type='Integer'>1</Value></Eq><Eq><FieldRef Name='PostType'/><Value Type='Text'>Answer</Value></Eq></And></Where></Query></View>";
ListItemCollection itemCollection = l.GetItems(query);
c.Load(itemCollection);
c.ExecuteQuery();
Console.WriteLine(itemCollection.Count);
foreach (var x in itemCollection) {
Console.WriteLine(x["Body"]);
Console.WriteLine(x["ParentFolderId"]);
Console.WriteLine(x["PostType"]);
the code runs fine but returns everything rather than only the items with PostType of "Answer". So the AND part of the query is not working. No Errors!
val it: unit=()There problem is in the beginning after where you are having closing AND syntax </And>
Try this
query.ViewXml = "<View Scope='Recursive'><Query><Where><And><Eq><FieldRef Name='ParentFolderId'/><Value Type='Integer'>1</Value></Eq><Eq><FieldRef Name='PostType'/><Value Type='Text'>Answer</Value></Eq></And></Where></Query></View>";
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
IF CONDITION DOES NOT WORK WHEN PAGE BREAK IS THERE
Hi,
In my page I have some text and then I have put if condition and then Page Break (Next) and then some text and closed the if condition. When I run this if condition is simply ignore and it displays the data within if condition I do not know how to avoid.
<?if: country = 'US'?>
<?call-template:templateUS?>
<?end if?>
<?if: country = 'UK'?>
<?call-template:templateUk?>
<?end if?>
<?template:templateUS?>
Testing Data if mkt = 'US' (Section Break (Next Page))
This should only come for US
<?end if?
<?template:templateUK?>
UK Should only come
<?end if?
When I run the above template if the country is UK then also This should only come for US gets printerd how can I avoid this.
ThanksHello,
Did you get this to work? Pls let me know. I am facing the same issue.
Thanks,
Krishna. -
Oracle Services for MTS on multiple servers - does not work
I am having problems with running transactional component (COM+) using Oracle Services for MTS.
I've been through pretty much all the messages in this forum, and I believe that I have
configured things correctly. Here are the details. Sorry for the long post. I wanted to give as much details as possible.
Database - Oracle 8i (8.1.7)
Machine I
1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
2. Installed OraOLEDB version 8.1.7.3 and OraMTS
3. Configured Oracle MTS Service with MTSSYS against the database.
4. MSDTC is up and running
5. Transactional components registered properly in COM+.
6. Contains MDAC 2.6 SP1
7. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
for MTXOCI - set OracleOciLib = oci.dll
OracleSQLLib = orasql8.dll
OracleXALib = oraclient8.dll
Machine II
1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
2. Installed OraOLEDB version 8.1.7.3 and OraMTS
3. MSDTC is up and running
4. Transactional components registered properly in COM+.
5. Contains MDAC 2.6 SP1
6. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
for MTXOCI - set OracleOciLib = oci.dll
OracleSQLLib = orasql8.dll
OracleXALib = oraclient8.dll
I have verified the database MTS_PROXY_INFO and the information seems to point to Machine I properly.
When I run the application on Machine I, things work OK, the component executes and performs its job
(just doing a transactional insert into a table is all). I try the same application on Machine II
and the application hangs and it waits forever in IDBInitialize->Initialize method, probably when trying to join a transaction. Here is a trace snippet
TID: eac (ENTRY) COracleSource::GetPropertyInfo(1, 0xb4f280, 0xb4f2e0, 0xb4f2e4, 0xb4f2d4)
TID: eac (EXIT) COracleSource::GetPropertyInfo(hr=0): 4240
TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
TID: eac (ENTRY) COracleSource::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
TID: eac (ENTRY) COracleSource::SetProperties(1, 0xa5630)
TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
TID: eac (ENTRY) COracleSource::SetProperties(1, 0xb4f148)
TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
TID: eac (ENTRY) COracleSource::Initialize()
TID: eac (EXIT) COracleSource::Initialize(hr=0): 231
TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
TID: eac (ENTRY) COracleSource::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
TID: eac (ENTRY) COracleSource::CreateSession(0x1cf32dc, 0x0, 0x0)
TID: eac (DTXN) COracleSession::FOraInit() - Session (194250c) created
TID: eac (EXIT) COracleSource::CreateSession(hr=0): 165
TID: eac (ENTRY) COracleSession::JoinTransaction(2030104, -1, 0, 0)
TID: eac (EXIT) COracleSession::JoinTransaction(hr=8004d00a): 139
I would appreciate any help in this matter. I need to get this running to go live.Hi.
I have the same problem, one which works and another which don't (almost though).
I got most of it to work by taking the mtsservices registry entry from the server that works and put it on to the other after i have made the service in Oracle management console for mts.
Now i can search, delete, change but not make a new entry into the database.
And thats where i'm stuck now.
Hope it helps a bit..
Michael
Greenland -
Oracle Services for MTS in multiple servers - does not work
I am having problems with running transactional component (COM+) using Oracle Services for MTS.
I've been through pretty much all the messages in this forum, and I believe that I have
configured things correctly. Here are the details. Sorry for the long post. I wanted to give as much details as possible.
Database - Oracle 8i (8.1.7)
Machine I
1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
2. Installed OraOLEDB version 8.1.7.3 and OraMTS
3. Configured Oracle MTS Service with MTSSYS against the database.
4. MSDTC is up and running
5. Transactional components registered properly in COM+.
6. Contains MDAC 2.6 SP1
7. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
for MTXOCI - set OracleOciLib = oci.dll
OracleSQLLib = orasql8.dll
OracleXALib = oraclient8.dll
Machine II
1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
2. Installed OraOLEDB version 8.1.7.3 and OraMTS
3. MSDTC is up and running
4. Transactional components registered properly in COM+.
5. Contains MDAC 2.6 SP1
6. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
for MTXOCI - set OracleOciLib = oci.dll
OracleSQLLib = orasql8.dll
OracleXALib = oraclient8.dll
I have verified the database MTS_PROXY_INFO and the information seems to point to Machine I properly.
When I run the application on Machine I, things work OK, the component executes and performs its job
(just doing a transactional insert into a table is all). I try the same application on Machine II
and the application hangs and it waits forever in IDBInitialize->Initialize method, probably when trying to join a transaction. Here is a trace snippet
TID: eac (ENTRY) COracleSource::GetPropertyInfo(1, 0xb4f280, 0xb4f2e0, 0xb4f2e4, 0xb4f2d4)
TID: eac (EXIT) COracleSource::GetPropertyInfo(hr=0): 4240
TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
TID: eac (ENTRY) COracleSource::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
TID: eac (ENTRY) COracleSource::SetProperties(1, 0xa5630)
TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
TID: eac (ENTRY) COracleSource::SetProperties(1, 0xb4f148)
TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
TID: eac (ENTRY) COracleSource::Initialize()
TID: eac (EXIT) COracleSource::Initialize(hr=0): 231
TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
TID: eac (ENTRY) COracleSource::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
TID: eac (ENTRY) COracleSource::CreateSession(0x1cf32dc, 0x0, 0x0)
TID: eac (DTXN) COracleSession::FOraInit() - Session (194250c) created
TID: eac (EXIT) COracleSource::CreateSession(hr=0): 165
TID: eac (ENTRY) COracleSession::JoinTransaction(2030104, -1, 0, 0)
TID: eac (EXIT) COracleSession::JoinTransaction(hr=8004d00a): 139
I would appreciate any help in this matter. I need to get this running to go live.Ganesh,
From the trace provided, it appears that the OraOLEDB had problems loading the OraMTS.DLL appropriately. Can you check to see if the OraMTS.DLL is in your %ORACLE_HOME%\bin and your PATH is set with %ORACLE_HOME%\bin included?
Another possibility is that an older version of OraMTS.DLL resides in your
%ORACLE_HOME%\bin. If you invoke "dumpbin /exports oramts.dll" at the DOS command line, one exported function should be called "OraMTSSvcEnlistEx". If you don't see this, then that means you should try reinstalling OraMTS 8.1.7 again.
Hope that helps.
- nari -
Adobe After Effects Multiple instances does not working parallel using Scripting
Hi all,
i am uploading after effects template to my site, user came and upload his desired contents.
i update the template using scripting with user's contents and then render video so user get video with his uploaded text/images etc.
its working perfectly when i update a single template at a time but when multiple users come at the same time then they need multiple instances of after effects
so i open multiple instances of after effects by using "-m" with after effects shortcut
after looking at windows task manager there are both instances but the problem is
only once instance continue and the second one stop, after completion of first instance the second one still in pause status
i need 2,3 4 or whatever instances to work parallel without pause/stop
i am using windows server 2008 R2 with XAMP installedHi Lal XaDa,
Would you please post your script to help us to troubleshoot?
In addition, if you can use Windows Powershell, please try these ways:
If a script needs some speed-up, you might find background jobs helpful, you can use the cmdlet "start-job", for more detailed information, please go through this article:
Parallel Processing in PowerShell
You can also use the cmdlet ForEach -Parallel in powershell workflow to handle script in parallel.
For more detailed information, please check this article:
about_Foreach-Parallel
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang -
"Warn me when closing multiple tabs" does not work on Mac Version 5.0.1
The "question" says it all. Even though this box is checked in FireFox Preferences, it doesn't work on my iMac. The browser closes immediately. There is no pop-up with a question.
You can set the warn prefs on the <b>about:config</b> page to <b>true</b> via the right-click context menu or toggle the value with a double left-click.
* browser.showQuitWarning, see http://blog.zpao.com/post/3174360617/about-that-quit-dialog
* browser.tabs.warnOnClose, see http://kb.mozillazine.org/About%3Aconfig_entries
* browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
* browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
*Use the Filter bar at to top of the about:config page to locate a preference more easily.
*Preferences that have been modified show as bold(user set).
*Preferences can be reset to the default or changed via the right-click context menu. -
Multiple setProperty does not work in 5.1 anymore?
I have a jsp page with a multiple selection list. In weblogic server 4.51
the multiple selection were set in the bean as string with the selections
separated by commas. With weblogic server version 5.1 (sp3) I get only the
first selection.
I have a test file in case someone is interested.
Thanks, MarkusI suggest that you file a bug report with our support organization. Be
sure to include a complete test case. They will also need information
from you -- please review our external support procedures:
http://www.beasys.com/support/index.html
Thanks,
Michael
Markus Roskothen wrote:
>
I have a jsp page with a multiple selection list. In weblogic server 4.51
the multiple selection were set in the bean as string with the selections
separated by commas. With weblogic server version 5.1 (sp3) I get only the
first selection.
I have a test file in case someone is interested.
Thanks, Markus -
I am attempting to upload multiple photos on a mac pro from a cd. I have tried holding the "command"button down to select multiple photos but it does not work. Please advise. Thanks,John
why not sort by (name, date, etc) and Click on 1st and Shift-Click on last.
Might work better to copy or import to a project folder.
https://discussions.apple.com/community/ilife/iphoto
http://www.apple.com/support/iphoto -
Auto-Detect Screen Resolution Does Not Work Across Multiple Monitors With Different Resolutions
Hi,
The Acrobat Pro DC (15.007.20033.2203) auto-detect screen resolution feature does not work with multiple monitors at different resolutions. Acrobat looks fine on my hidpi primary laptop display (Razr 14" 2014) but is completely unusable if I drag or extend the application to a standard HD resolution secondary monitor. Dragging Acrobat from my primary desktop display to the secondary display causes the UI elements to become 2x as large as they should be and makes Acrobat unusable.
Is there a way to make Acrobat auto-detect the display that it is currently on?
Thanks!
-DonaldTo prevent it from happing again, you can
1. go to the Mouse preference and turn off the scroll zoom feature.
2. go to the Universal Access preference and disable the zoom features. -
I had a script that worked great for me in Indesign CS. But now does not work in CS4. Anyone knows what needs to be done to make it work again ?
When I drop folder with indesign files on top of this script:
1. opens first page
2. turns specific layer on
3. prints using preset
4. exports using preset
5. close without saving
6. next page
Anyone who can give me solution or idea how this should work is greatly appreciated.
on open sourceFolders
repeat with sourceFolder in sourceFolders
tell application "Finder"
try
-- If you would like to include subfolders, you say - every file of entire contents of folder…
set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias list
on error -- work around bug if there is only one file
set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias as list
end try
end tell
if idFiles is not {} then
tell application "Adobe InDesign CS4"
set user interaction level to never interact
repeat with i from 1 to count of idFiles
open item i of idFiles
tell document 1
try
set visible of layer "ImagesTag_Layer" to true
end try
set myPreset to "letter size" -- name of print style to use
with timeout of 700 seconds
print using myPreset without print dialog
end timeout
set myPreset1 to "pdf preset name" -- name of pdf export style to use
set myName to the name -- name includes .indd should remove at some point
with timeout of 700 seconds
export format PDF type to "users:temp:Desktop:pdf:" & myName & ".pdf" using myPreset1 without showing options -- set path here format ComputerName:Folder1:Folder2:......:FileName.pdf
end timeout
close without saving
end tell
end repeat
set user interaction level to interact with all
end tell
end if
return 10 -- try again in 10 seconds
end repeat
end open(Disclaimer: me not an AS guy!)
First thing I noticed is the interaction level is set off. If you comment out this line
set user interaction level to never interact
you might be able to pinpoint the exact error -- ID will display a standard "failed" dialog, hopefully showing the line that it fails on.
A quick question: the script assumes two presets in your InDesign: one for print ("letter size") and one for PDFs ("pdf preset name"):
set myPreset to "letter size" -- name of print style to use
set myPreset1 to "pdf preset name" -- name of pdf export style to use
Do these actually exist in your CS4, with the same (non)capitalization and spaces? -
Multiple operation using the same port does not work
I am trying to have multiple operations on both ports
here is my wsdl snapshot
<portType name="CommonAlerter">
<operation name="initiate">
<input message="client:CommonAlerterRequestInitMessage"/>
</operation>
<operation name="StartWait">
<input message="client:CommonAlerterRequestInitMessage2"/>
</operation>
<operation name="StopWait">
<input message="client:CommonAlerterRequestInitMessage3"/>
</operation>
</portType>
<portType name="CommonAlerterCallback">
<operation name="onResult">
<input message="client:CommonAlerterResponseMessage"/>
</operation>
</portType>
I just added two new methods "StartWait" and "StopWait" to the default async. template that got generated when I created a new BPEL Project "CommonAlerter"
Now I call this BPEL process from another BPEL project
The three methods I call "initiate", "StartWait" and finally "StopWait" are at different stages in my calling BPEL processes. Although "initiate" gets called first.
When I debug the calling process instance I get an error on the call to "StopWait" which gets called after "StartWait".
Here is the error message
Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-08010
Failed get operation definition.
Failed to get the WSDL operation definition of "StopWait" in portType "{http://xmlns.oracle.com/CommonAlerter}CommonAlerter".
Please verify that operation "StopWait" is defined in portType "{http://xmlns.oracle.com/CommonAlerter}CommonAlerter".
Now I do have this method in my WSDL
Can some one help.
My Message part XSD is
<element name="CommonAlerterProcessInitRequest">
<complexType>
<sequence>
<element name="initializeparam" type="string"/>
</sequence>
</complexType>
</element>
<element name="CommonAlerterProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
<element name="CommonAlerterProcessRequest2">
<complexType>
<sequence>
<element name="waittime" type="duration"/>
</sequence>
</complexType>
</element>
<element name="CommonAlerterProcessRequest3">
<complexType>
<sequence>
<element name="stopargument1" type="string"/>
<element name="stopargument2" type="string"/>
</sequence>
</complexType>
</element>Here are the steps for multi operation synchronous BPEL process :
1. Create a new BPEL process and delete request and response activities.
2. Now add the porttype/operation in the BPEL process wsdl.
3. Start the Process with a Pick activity and click on Create Instance checkbox. Remove the onAlarm branch as we do not need this. In the onMessage branch specify the name of the operation.
4. Now add onMessage branches to match the number of operations. The flow for each onMessage branch is different. Just make sure that you create a reply activity at the end with the correct operation chosen. So you might end up having multiple return activities.
Sometimes, a wsdl with multiple operations might not work as expected if the process version is 1.0. So try changing the process version in case you are not getting the expected results.
Hitesh
Maybe you are looking for
-
Os x 10.10 display settings not remembered
New Mac Pro 12-core running 10.10.2, main monitor is LG UM95 connected via thunderbolt, also a Panasonic TV connected via HDMI to the HDMI port. At every restart, the display settings revert to "mirrored" mode. How do I fix this?
-
[XFCE4] Is there a good 'Save Session' tool?
Is there an application that does what the 'Save Session' option on Xfce4 logout does, just better? Here's the current state of 'Save Session': -It saves how many application instances were open and their window sizes. For some applications it does n
-
Where is the ringtones folder on iTunes?
I have followed all the steps to make a new ringtone on my macbook pro to then transfer to my iPhone, but I cannot find my ringtones folder in iTunes.
-
Using Windows Media for Mac OS X
When I try to download and open Windows Media for the Mac OS X, I get the message "There is no default application specified to open the document "Windows Media.stix" with a tab marked 'choose application' under that. Naturally, I know what to do, or
-
I would like to deploy a pair of 5508 in HA and wold like to know what code offeres the most stablility. I am currently running 7.4.100.0