Max Executed Steps Exceeded
Hello All. I ran into a situation where a caller got aborted due to:
com.cisco.wfframework.obj.WFMaxExecutedStepsExceededException: No. of executed steps: 1000
I have read other posts related to this and understand that this is due to the number of steps in a script going over the default 1000 steps. However looking at the call start and end time I am confused to why this happened. I have a queue loop setup in my script that delays every 30 seconds and the total duration of the call was around 19 minutes. So one of the calls that got aborted went through the loop around 38 times. Do annotations in a script count as a step? If so then this may be part of the reason we reached the greater than 1000 steps. Also, what issues can occur if I set the system parameter to greater than 1000 steps? I have attached my script and thanks for any input.
Hello Gajanan,
Thanks for the reply. The problen with leaving this at 1000 is that I am only getting a maximium of around 25 minutes in queue. I did find out that annotations where included in the step count so I removed these and that helps some. I had 7 annotations in the queue loop that are now removed. I have also increased the max executed steps to 2000 on advise from TAC. The only thing I was warned about is this is what keeps the "infinite loops" from running away with the processor and I am fully aware of this. This increased the time a caller has to remain in the queue to over an hour. My theory is that if a customer wants to hang on for an extended amount of time then the system should support it. We are small and only have a T1 coming in so the load is next to nothing on the server. I will keep a close watch on the server though and make sure that performance does not degrade by doing this. Again thanks for the reply.
Similar Messages
-
Debug error: Errors while executing step
Hi gurus:
While debugging a complex mapping, I received the following error.
DEPENDENCY: EXPR executing...
Errors while executing step
DEBUG INPUT ROW: 1
TABLE: DBG$ID2_MTL_SYSTEM_ITEM_B_GR
STATEMENT: TRACE177:TRACE180:
"GE_8_SY"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"):=
""DW_PG".GET_COURSE("MT_1_IN$2"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"), "MT_2_OR$2"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"), 'CATEGORIES', 5)/*ATTRIBUTE EXPR.OUTGRP1.ID2:EXPRESSION*/;
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 41
ORA-06512: at "SYS.UTL_FILE", line 478
ORA-06512: at "DW_PKG", line 377
ORA-06512: at "DW_PKG", line 3424
ORA-01403: no data found
As a background, the error occurred at EXPR step which is calling a function. Function calls additional tables in the source schema (tables not brought into Staging) I have imported the Package from the DB (Target) Do I need to do something special for the function to be able to access the tables in the source schema?
Thanks in advance for your help.I ran into a similar problem about a year ago. Very random, but kept happening at least once a week. Finally figured out that the static IP address for our server was left in the dynamic IP address pool. So every so often, the address was dynamically assigned to a second machine. Which caused a similar type of problem that you are seeing. I don't know if this is your problem. But it sounds familiar.
Hope it helps.
Mike -
Why do I get error -17500 when calling a batch file using the call executable step type?
I am calling a batch file using the call executable step type. If the path to the batch file contains a space I get error -17500 and a message stating there was an error in "Post". For example the path to the batch file is "c:\TestWin\Test Files\...\Program.bat" When I run this I get the above mentioned error, however if I change my directory structure so the path is now "c:\TestWin\TestFiles\...\Program.bat" it runs fine. I use the browse feature to find my batch file so it is not me typing in a path incorrectly. I have removed the batch file and I get a different error stating that it couldn't find the file so it appears that for my error it can find the file but can't run it. I am
sure that this has something to do with the fact that batch files are written in DOS but really don't want to resort to changing my directory structure on all my test stations. Is there any way to fix this problem so I can leave a space in my path?It appears I have figured it out. This was on another computer so I was unaware of how they used their computer. I like you got it to work in the temp directory and in fact got the program.bat file to work as long as I put it under the temp directory, but when I switched out to my TestWin directory it wouldn't work, so I removed everything from the directory except the batch file it self and it work. What I found out after adding files in one at a time is that the person had a file called "Test" with no file extension in there "c:\TestWin\" directory. Removing this file made it work. Putting the file back broke it. So it appeares that when teststand was running it followed the path saw a space and attempted to grab the "Test" file instead of bro
wsing into the "Test Files" directory. If you create a file in your temp directory called "temp" with no file extension you will see the same problem. Thank you for your help. -
In simple user Interface modify the sequence view to show only executing step
I want to see only the Single executing step in sequence view of the user interface
are there any egs for the same!!This is relatively trivial to implement yourself. Handle the UIMessageEvent of the ApplicationMgr and when you get a trace UIMessage do something like the following:
if (uiMsg.Event == UIMsg_Trace)
int notUsed;
String currentStepName = "";
SequenceContext context = uiMsg.Thread.GetSequenceContext(0, out notUsed);
if (context.NextStepIndex >= 0)
currentStepName = context.NextStep.Name;
/// Do something with currentStepName like update an indicator control.
Hope this helps,
-Doug -
Test sequences not working in standard prototype adaptor with Execute Steps in process
Test sequences not working in standard prototype adaptor with "Execute Steps in process" but the sequences works in "Execute steps in an External instance of CVI"(Debug mode). Pl help with solution
Apriciate your help
Regards,
SharanuSharanu,
Thanks for contacting National Instruments. It would help us out a lot if you could specify exactly what is not working. Will the sequence just not run? Is it giving you an error message? Or what exactly does not work about it? The initial thing that I could think of that would make it not work in External Instance but not using the RunTime Engine is that you might be missing a support library when trying to run it in this configuration. If you click on the "Configure Auto-Loading of Support Libraries Needed for Linking .objs and .libs" button, you can make sure that all the support libraries you might be using are added in this list (you can add them using the "Add Other Libraries..." button). If this does not fix your problem, then let us know a litt
le more about what is going on and we can help you from there. Thanks.
Adam B.
Applications Engineer
National Instruments -
How to Increase Instance size for ALBPM-Err:'Max instance size exceeded.
HI,
Can anybody in How to increase maximum instance size for
1. ALBPM Studio
2. runtime i.e. process administrator?
Look forward for help.
Cheers
The exception in detail is:
Error while persisting the transaction data: 'Max instance size exceeded.
Current size is 33262, whereas the maximum size is 16384. This occurs with instance 'Process1' at activity 'StartExecution[Process1DownloadMessage]' of process '/Process1Download#Default-1.0''
Details:
Max instance size exceeded.
Current size is 33262, whereas the maximum size is 16384. This occurs with instance 'Process1' at activity 'StartExecution[Process1DownloadMessage]' of process '/Process1Download#Default-1.0'
fuego.server.exception.MaxInstanceSizeRuntimeException: Max instance size exceeded.
Current size is 33262, whereas the maximum size is 16384. This occurs with instance 'Process1' at activity 'StartExecution[Process1DownloadMessage]' of process '/Process1Download#Default-1.0' at fuego.server.ProcInst.getComponentData(ProcInst.java:792) at fuego.server.ProcInst.mustStoreComponent(ProcInst.java:2777) at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:2870) at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2272) at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1008) at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1819) at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1109) at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132) at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:685) at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:368) at fuego.transaction.TransactionAction.commit(TransactionAction.java:302) at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481) at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551) at fuego.transaction.TransactionAction.start(TransactionAction.java:212) at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123) at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:63) at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42) at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:264) at fuego.server.execution.ToDoItem.run(ToDoItem.java:559) at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:773) at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753) at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142) at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134) at fuego.fengine.ToDoQueueThread$PrincipalWrapper.processBatch(ToDoQueueThread.java:446) at fuego.component.ExecutionThread.work(ExecutionThread.java:837) at fuego.component.ExecutionThread.run(ExecutionThread.java:408)First take a look at your instance variables in your processes. Determine if some could be changed to be Separated instance variables. Once an instance variable's category changes from "Normal" to "Separated", it is not included in the instance size calculation.
If you cannot mark variables as Separated, then in Studio's "Project Navigator" tab, right mouse click the name of your project -> click "Engine Preferences" -> with the "Engine" selected as the Category, click the "Advanced" tab on the upper right change the "Maximum Instance Size" to 64KB (4x the original 15kb value) and change the "Instances Cache" to 1250 (1/4th the original value).
What version of Enterprise are you on (Standalone or WLS)? There is a similar setting on Enterprise, but it is slightly different between the two types of Enterprise Engines.
Dan -
ABAP system user name asking while executing step DI all-in-one
HI,
We are trying configure NWDI in our EP system,for that we have deployed DI_CMS,DI_DTR,DI_CBS through JSPM.But when we executing step DI all-in-one in configuration wizard,its asking Administrator(DDIC) user of ABAP system.
But our EP system UME is local database.
please provide the solution for solving the issue.
Regards
Sasikanth ReddyHi Sasikanth,
Please make sure that you are using the user which is having administrator acess with NWDI roles.
Refer to http://help.sap.com/saphelp_nw70/helpdata/en/44/60dc1943c2311ce10000000a155369/frameset.htm
Hope it will helps
Regards
Arun Jaiswal -
Why i cann't get the executed step index of main segment of a sequence?
Hi, Everyone!
Could someone help me ,Pls?
Query:
How can i get the executed step index of main segment of a executed sequence?
Aim:
I want to let Teststand reveal the executed step index no matter when it running in main segment, setup segment or cleanup segment when i terminate executing sequence.
My action:
I add a Statement step in SequenceFilePostStep , the content is FileGlobals.GetArrayOffset1= RunState.Sequence.Main.GetArrayOffset("Pass/Fail Test1",0,"0").
but it cann't work, and it is error.The backslashs are escape characters which tell the expression to interpret the " " as actual quotes. Since the expression Doug posted had other quote marks in it here: ("", 0, "[\"Pass/Fail Test1\"]") we have to escape the inner quotation marks so that the expression will be interpreted correctly. The backslash does this.
Daniel E.
TestStand Product Support Engineer
National Instruments -
Error executing step 'CORR_GET_CORR_KEY' ?
Hi,
Could anybody please help me to solve the issue, we are getting this on SAP ME15.0 with MII 15.0 and the ERP is ERP6Ehp6.
the complete message of log is
"[CorrelationWorkflow] Error executing step 'CORR_GET_CORR_KEY' : com.sap.me.integration.frame.workflow.PluginException: java.lang.ClassNotFoundException: com.sap.me.integration.GetYieldWithComponentsKeyHandler"
Thanks,
ChandrababuHi Alex,
We are able to send Production Order from ECC to ME and were able to send scrap from ME to ECC.
Thanks,
Chandrababu -
How to abort an executing step?
Using TS 3.0, I call CVI DLL steps. I want to be able to terminate(exit) an executing step either from TS or within an error handler within the DLL. I want the sequence to give the operator a choice to resume at the next step or Terminate with cleanup. The DLL steps are not structured to branch to the normal DLL function return(perhaps there's such a way?).
Hello Bob Balch,
The question that you have posted is not trivial to implement. However, there are ways to accomplish that task. I believe that it will be better to discuss the different programming ideas I have for you off-line, so I will be sending you a direct email in the very near future with the ideas that I have for you.
Regards,
Kevin Leonard
Applications Engineer
National Instruments -
HTTP error delivery Message: max transport attempts exceeded
Hi All,
DB:11.1.0.7
Oracle Apps:12.0.6
OS:IBM AIX
We are testing the DELL punch out functionality. As part of this, system is trying to send an XML output to the supplier and it is failing with the following error message.
We tried following two options( HTTP and SMTP) , in both cases it is failing.
For HTTP error Delivery Message: max transport attempts exceeded is the message shown.
For SMTP error Delivery Message: cannot send email
Could anyone please share such an experience faced before to resolve the issue.
Thanks for your time!
Regards,Please post the complete error message.
Please see these docs.
Delivery of cXML PO's and Attachments to Suppliers [ID 252895.1]
OXTA Times Out before Successfully Sending Messages Outbound in Oracle Exchange [ID 252491.1]
CXML Documents Are Delivered But Delivery Status Is Not Updated in XML Gateway [ID 1073808.1]
Thanks,
Hussein -
Marco cannot execute step by step.
Dear Expert,
i have created a macro including a lot of steps.
in my sceranio, i have created a macro like this:
step 1:
Row 1 = row 2 + row 3
Step 2:
row4 = row 1.
Step 3:
IF
row4 > row5
write an alert.
When i run this macro, it can only execute step 3. i don't know why?
please explain for me and correct it.
And tell me how can i execute marco at aggregated level and location level or product level.
thanks so much.Hi,
I did not understand first why you copied row 1 to row 4. However, this should still not cause an issue.
This kind of macro is a very basic macro, and you must be missing some very basic thing somewhere.
In all the steps, I hope you have repeated the iterations sufficient number of times (means covering the complete time horizon that you need).
Hope you did not change the attribute of data source from "values" to "attributes". Double click on your rows in the macro, and check this in the section 'Data Source: Value or Row/Column Attributes'. You should have "values" there.
Regarding running at aggreagated or detailed level: If you are in interactive planning and you have allowed "direct execution" for your macro, then do the data load at an appropriate level, and run the macro. Same also applies if your macro is default or start macro (or another type), when you would load data at appropriate level through selection, the macro would execute at the correct level.
If you run the macro in background job, then you can specify the aggregation level in the background job variant.
If you want to change the aggregation level for some reason during the execution of macro, it's possible to use functions DRILL_DOWN and DRILL_UP.
What exactly is your requirement?
Hope this helps.
Thanks - Pawan -
SAPinst does not finish at the task of "Execute step CreateDbSchema"
Hello all,
I'm trying to install Solution Manager 4.0 SR3 with MaxDB 7.6.02 Build12.
But SAPinst does not finish the following task ...
INFO 2008-04-21 23:47:53.765 [iaxxgenimp.cpp:632]
showDialog()
Execute step CreateDbSchema of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|4|0|Sdb_Schema|ind|ind|ind|ind|1|0.
Does anyone have same problem? Could you give me advice?
Also I found one error message near this task in the logging message.
INFO[E] 2008-04-21 23:18:08.78 [synxcuser.cpp:102]
CSyUserImpl::CSyUserImpl(const CUserData&, bool)
FSL-01027 Account user="vm-sap2\SAP_LocalAdmin" does not exist.
Any comment and advice are very appreciated.
Best Regards,
MakotoWe resolved the problem.
Problem:
Installation of 7.0 using MaxDb on Windows x64 hangs on the sapinst at the step CreateDbSchema..
There is no error in the installation log.
We are using the specified JDK (JAVA development kit) as specified by OSS Note 723909 which is downloaded from a special website of SUN.com.
We have tried uninstalling the other versions of the JDK build and tried other builds.
Solution:
By searching message boards for the specific error CreateDbSchema, one of the threads mentioned that passwords for MaxDb can't have special characters. Searching OSS yielded a Note 674430 which confirmed that installing on MaxDb has to use alpha-numeric. We were using an @. We dropped the database and deleted the user so it would be a clean install, and ran again using a different password. Some other cleanup was done too, but we suspect it was the password. -
Max condition value - exceeds while creating a SO
Hi All,
I have a requirement which we are trying to meet up by a solution:-
Requirement:-
A fund value (e.g. 1,00,000) is to be allocated on a particular spend which is offered to customers (e.g. discounts)
So as and when the discounts are offered on the customer orders (SO) the funds value should get depleted
this process goes on and the discounts are offered to the customers, but the total discounts offered till date has reached (98,000), hence when a new order where the discount offered is lets say (5000) it should not allow user to offer it, since it should not go beyond the total fund value i.e. (1,00,000)
Solution:-
Setup:-
A condition type for discount ZCDS is created with "condition update" flag marked
In the condition records of the above condition --> Additional sales data --> Max condition value we will put the total allowed fund of 1,00,000
Transactions:-
Mutliple SO's are created with ZCDS discounts condition types ((1) 30,000 2) 30,000 3) 30,000)
Now in the cumulative values of the ZCDS condition record shows 90,000 for the above 3 orders
Now a new SO is being created with ZCDS valuee of 30,000... IT SHOULD NOT ALLOW TO POPULATE THE ZCDS - CONDITION VALUE OF 30,000 IN THE SO, SINCE IT WILL EXCEED THE TOTAL FUND AMOUNT OF 1,00,000 WHICH IS ALREADY ASSIGNED IN THE "MAX CONDITION VALUE"
ISSUE:-
I am able to create a 4th SO with 30,000 in ZCDS condition type which is updating the "cumulative values" (1,20,000) in the ZCDS condition records as well
QUESTION:-
Can the above scenario met through the solution we have proposed ?
Will the max condition value of 100000 not restrict the condition value in the SO since it is exceeding it ?
Please suggest in case i may have to configure setup additional in it
Appreciate quick replies!
Jimit ShahHi
This maximum condition value i have tested some time back
But my results were quiet different
In your example for the 4 th order , when i tested system was taking only 10000 ( the balance of the max condition value)
If we create another order say 5 th order, then for that condition type ZCDS system was taking ZERO value
So it was limiting to the maximum of 100000
But it was allowing us to create N number of orders ( after max condition value was reached )
For those extra orders system was taking zero value for ZCDS ( which i think is meaning less)
When i find time i will test this once again and come back to you
I tested this once again today and found that once the maximum condition value is reached for the rest of orders system was taking the nett value as blank
This is the same with my earlier findings
In your example system will not take it to 120000 if the maximum condition value is set to 100000
If that is happening then there is problem somewhere
and in the condition item details analysis system very clearly tells that MAX value is reached for that condition
MAX condition value is working perfectly
Regards
Raja
Edited by: ramanathan raja on Feb 11, 2011 3:56 PM
Edited by: ramanathan raja on Feb 11, 2011 4:04 PM -
Get step name of currently executing step from post expression tab
Hi,
I am trying to create a custom step type that records the step name and step results in an array. I have been having trouble trying to access the Step Name property from the post-expressions tab.
One option is to use locals.resultslist[], however, that is only populated once the step executes and hence i cannot access its name through post-expressions. Is there any other property that contains the step name, that may be populated correctly before the post expression is executed?I just realized, this has been posted under LabView. Please disregard this, I am putting it under Test Stand.
Maybe you are looking for
-
30gb ipod, disk cannot be read or written to.
I have a 30 GB Ipod and everytime i try to sync my music a message comes up that says "the iPod " " cannot be synced. The disk could not be written to or read from." I've tried everything suggested in these forums and it still will not work. any sugg
-
Dear All, I am getting a Problem while creating error. In XK01, Payment transactions view, I want to enter only Country key and Bank Account no. I don't want to enter Bank Key. But system is not allowing further, without entering the Bank Key. Plea
-
I open my 10.6.8 version of iphoto and it opens as far as showing a blank template of its operating window and the bar at the top but with the loading rotating circular curser so i can access any drop down menus in the bar
-
Control and monitoring of traffic lights
i am a student and new to graphical programming.i am using labview 6.1 to monitor and control a system of traffic lights from a central location.my problem is geting the lights to go on and off.
-
IPod Video/Sonic Impact Video-55
Merry Christmas Everyone! I have a iPod Video 80 gig and have been ripping my videos at 320x240 (H264) with 2 pass encoding and the widescreens I have been ripping @320 and then cropping the sides to get close to the 240. They have looked great on th