FDMEE: Unable to capture the State of the successful import flag in the afterimport script

Hello Experts,

I am facing a problem in the import successful FDMEE shot.

I have an obligation to send e-mail notifications on import successful and unsuccessful import mentioning status.

I tried to use variables:

1 set objProcessStatus = objFDMAPI.API.MaintenanceMgr.fProcessStatus (strLoc, strCat, strPer, strRulID)

objProcessStatus.blnImp

The objProcessStatus.blnImp value is always returned as 'false' regardless of the State of importation (successful & unsuccessful both cases)

2. I tried with objProcessStatus.lngStatus,

Here also, the returned value is always '0', regardless of the status of the import.

3. I tried to capture the "PROCESSIMP" of TLOGPROCESS and the value of PROCESSIMP is always 0 even on successful importation.

While the fish turns Orange Import indicating a successful import.

Need help in an effective way to capture the flag of the State of import successful.

Sample code I use to capture the State:

Dim lngStateCheck

Dim objProcessStatus

Dim stat

strLoc = objFDMAPI.API.State.LocName

strLocKey = objFDMAPI.API.State.LocKey

strCat = objFDMAPI.API.State.CatName

strCatKey = objFDMAPI.API.State.CatKey

strPer = objFDMAPI.API.State.PeriodKey

strRulID = objFDMAPI.API.State.RuleID

WScript.Echo "key location" & strLocKey

WScript.Echo "ID of the rule" & strRulID

WScript.Echo "Partition key" & strLocKey

WScript.Echo strPeriodKey & "period"

"The value of object process status indicator.

Set objProcessStatus = objFDMAPI.API.MaintenanceMgr.fProcessStatus (strLoc, strCat, strPer, strRulID)

Set FSO = CreateObject ("Scripting.FileSystemObject")

Set FSO = writefile. OpenTextFile("E:\FDMEE\data\scripts\debug.txt",8)

«I am here and my value is» WriteFile.WriteLine

WriteFile.WriteLine objProcessStatus.blnImp

WriteFile.WriteLine objProcessStatus.lngStatus

WriteFile.Close

'Destroy objects '.

objFDMAPI.Dispose

Set objFDMAPI = Nothing

********************************

Save file entry of PROCESSIMP: (the following query is in the log file indicating that PROCESSIMP is updated as 0)

2015-09-01 11:15:08, 008 [AIF] DEBUG:

UPDATE TLOGPROCESS

SET PROCESSENDTIME = CURRENT_TIMESTAMP

PROCESSSTATUS = 0

PROCESSIMP = 0

PROCESSVAL = 0

PROCESSEXP = 0

PROCESSENTLOAD = 0

PROCESSENTVAL = 0

BLNWCDIRTY = 0

BLNLOGICDIRTY = 0

BLNVALDIRTY = 0

PROCESSIMPNOTE = NULL

PROCESSVALNOTE = NULL

PROCESSEXPNOTE = NULL

PROCESSENTLOADNOTE = NULL

PROCESSENTVALNOTE = NULL

WHERE PARTITIONKEY = 37 AND CATKEY = 1 AND PERIODKEY = ' 2017-01-31' AND RULE_ID = 56

I tried to print the values of IMPSTATUS in afterimport & befValidate script.

The value of AfterImport is = 0

While in BefValidate = 1

This proves that the value of the indicator of State for IMPSTATUS is changed after the afterimport of script is executed.

Thanks for your time and your help.

Tags: Business Intelligence

Similar Questions

  • Can not do a screen shot using the command shift 4. Unable to capture the States. I restart the Mac.

    Can not do a screen shot using the command shift 4. Unable to capture the States. I restart the Mac.

    It is to capture a piece of the element you want to screenshot, make a fire using full-screen control + 3

  • Unable to make the Muse script form check test form php

    Hello

    After you download my site via FTP, I got a warning window saying connection to the PHP files had no Muse. There is a contact form on my site. I contacted my web server nearly host and they said that the PHP script is enabled by default on the website and use the latest version 5.6. Nearly host then recommended I check the error and returned me to the page of Adobe support Muse troubleshooting forms used on the servers of third party Widgets

    Here, it is believed that I have test site at your-site-address.com/scripts/form_check.php. I replaced my site address instead of "your-website - address.com' , but could not have access. The error message says "504 Gateway time-out. The server has not responded in time. »

    Help appreciated, thanks

    Hi have Charlotte - you looked in JotForms as potential replacement? I don't know what's their compatibility with nearly host, but often times where the forms of the Muse doesn't cut, JotForms is a good alternative: http://www.jotform.com/help/99-Adding-Form-to-Adobe-Muse

    I hope this helps, sorry for the inconvenience!

    Emily

  • HPDM 4.5 SP2 - unable to capture the image

    I installed HPDM 4.5 w/SP2 and have hurt captures an image of Smart zero of a HP T410 (I have not tired yet other thin clients). I did not save my old settings because I wanted to start from scratch because I didn't keep any of the old images in any case.  A test of the ftp protocol and shared folder filing came back successfully by using the repository Editor.

    Everything else seems to work very well as I am able to clone parameters and send a command to reboot successfully but when I try to capture and image, it fails with the following information.

    2013-05-22 09:17:15 sent special to the device management gateway

    2013-05-22 09:17:17 task has been retrieved by the Agent.

    2013-05-22 09:17:20 capture image to the master repository.

    2013-05-22 09:17:20 capture image to the master repository.

    2013-05-22 09:17:20 the common task cannot run.

    2013-05-22 09:17:20 the common task cannot run.

    2013-05-22 09:17:20 the common task cannot run.

    2013-05-22 09:17:20 the common task cannot run.

    The agent update task also fails and the underside of the log information.

    2013-05-22 09:43:16 reference card: master repository

    2013-05-22 09:43:16 sent special to the device management gateway

    2013-05-22 09:43:18 task has been retrieved by the Agent.

    2013-05-22 09:43:22 copy files using the master repository repository.

    2013-05-22 09:43:22 the common task cannot run.

    2013-05-22 09:43:22 ErrorCode: 14031022, detail of error: could not download the file (s).

    2013-05-22 09:43:22 the common task cannot run.

    2013-05-22 09:43:22 ErrorCode: 14031022, detail of error: could not download the file (s).

    2013-05-22 09:43:22 the common task cannot run.

    2013-05-22 09:43:22 the common task cannot run.

    I don't know there is a setting somewhere that I forgot, but not sure it is and was hoping someone could point me in the right direction.

    Yes, the shared folder is mainly used for WES units.
    Can you see something in the ftp log which leads to an error?
    With FileZilla FTP Server, you can see in real time what is happening.
    With IIS, etc., you will need to check the logs.

  • Unable to capture the String [] to a JavaCallOut

    Hi all

    I am applying where I have to make a legend of java that accepts the string and returns an array of strings as output. "The only java class works well but when I do the legend of Java and pass the string I get *" < con: java-Ref content = "jcid:-31630335:136f3572827:-3925 ' xmlns:con ="http://www.bea.com/wli/sb/context"/ >" * as a response. " How can I access the variable table in OSB?

    Kindly help me in this.

    Concerning
    Flavian.

    in the legends of Java, I would avoid types that are not in THE list of supported types:

    http://docs.Oracle.com/CD/E13159_01/OSB/docs10gr3/eclipsehelp/ui_ref.html#wp1290279

    java.lang.String [] is supported for the ENTRY ONLY

    Simply return some CSV in a string and you will be happy
    or return an XmlObject containing several elements

    A con: java-thingie content can be dealt with in another legend of Java only rather than a stream of messages of OSB...

  • I have a problem, try to uninstall the ask toolbar. get the error message: cannot access the VB script... need help please

    I have a problem, try to uninstall the ask toolbar. get the error message: unable to access the VB script... need help

    Hello

    How do you try to uninstall the toolbar?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Try the steps in the following Microsoft article and check if it helps.

    How to fix script errors in Internet Explorer on Windows computers:

    http://support.Microsoft.com/kb/308260

    Correction of errors in Internet Explorer: http://support.microsoft.com/kb/822521

    Method 2:

    Try to uninstall the toolbar, programs and features and check if it helps.

    Uninstall or change a program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Hope the information is useful.

  • HP 15r205tu: State failure in bootnig and unable to reduce the brightness of the display of power

    I bought HP 15r205tu notebook on 19/05/2015 and installed windows OS 8.1, but when the OS starts, I get error DRIVER_POWER_STATE_FAILURE. I did already reinstall OS twice but no luck. Another problem with the function of luminosity. Impossible to reduce the brightness of the laptop. Please help me to solve the problem as soon as possible.

    Hi @renjithcr90 ,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your laptop 15-r205tu HP and questions with failure then the starting state and unable to reduce the brightness of the screen. Here is a link to the HP Support Assistant, if you need it. Simply download and run the application and it will help with the software and drivers on your system that need updated. If the system is not up-to-date, it could cause your question.

    Make sure that you reboot the system twice, it will check the updates of Windows at this time here.

    Thank you.

  • I am unable to do the windows updates. My computer States trying to update 1 of 25, but no progress.

    I am unable to do the windows updates. My computer States trying to update 1 of 25, but no progress.  I tried several times without success.

    Suggestions:

    How to reset the Windows Update settings?
    http://support.Microsoft.com/kb/971058

    Diagnose and automatically fix common problems with Windows Update
    http://support.Microsoft.com/mats/windows_update/

    Cannot install updates in Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2
    http://support.Microsoft.com/kb/2509997

  • Unable to capture video with the Canon Vixia HV40 HDV - why?

    I am unable to capture video HDV via Firewire to my Cannon Vixia HV40. I am running Windows 7 Professional 64 bit on a computer HP DV6T Quad Edition laptop, using the native Firewire interface. I can capture DV standard definition without problem (when the unit is set to DV mode, Windows detects the device and the guests of action - if you select HDV mode, Windows does not, and the camera does not appear in Device Manager).

    So far, I tried to capture HDV in Sony Vegas, Windows Live Movie Maker, Cyberlink PowerDirector 7 and finally HDVSplit (considered as the common denominator of simpler, the lowest for the capture) without success. NOTE: the camera IS recognized in HDV mode. In all the above applications, I can go back, play and fast forward - there's a link that works at least at this level. When I try to capture HDV, I get different results - no success. HDVSplit starts playback on the camera and stops after 3-4 seconds, indicating that no data has been transferred from the camera. If I turn off scene detection, capture runs indefinitely, but the generated file is never more than 0KB. Director of Windows also appears to capture, but the file is still 70 KB and is not valid. Sony Vegas, same, begins the capture but never see any video. CyberLink Power Director, somehow, HDV recorded once a band - and can always record a live camera HD stream.

    I tried a lot of things:

    1 using the older driver 1394
    2 turn HD/HDV
    3 reinstall the capture software
    4 press the 'PLAY' button first, then enable "record", then the workflow is running.
    5. install the Canon software (despite the fact that it contains all drivers for camcorders) - in fact there is no driver for the Canon Vixia HV40. It is supposed to work with the Windows 7 driver. I tried both (W7 and legacy) with the same result.

    The Canon Vixia HV40 is documented as supported in Windows 7 by Microsoft and Canon - and yet there are many people on the Internet claiming to have this problem (although some people report no problems at all). I am sure that I do not see a 'Pink Elephant'. As this is a forum for Microsoft - I would be happy if I could capture in Windows Live Movie Maker - to keep the inconsistencies of the third part of the road. What should I try next? Is there a 1394 a generic driver that is certified to run on Windows 7?

    I went and hooked the camcorder new just to make sure that I can hardly believe it is now capture HDV. Perfect work. Believe me, I've tried evey solution I could find on the internet and it is the only one that worked for me. I found the solution on this forum and started to find only no sooner. I've only used it with Pinnacle Studio 12 so far... never mind, I just tried HDV Split and it works too. I had also planned to buy a SIIG NN-EC2812-S2 and if it had been less expensive, I did not hesitate. I tried from Best Buy's Dynex Express card, but he had the camera recognition problems and sent. I thought that you get what you pay and was actually looking for the best price on the SIIG when I came across the solution. I wish you good luck.

  • Skip and capture the Oracle SQL record dirty in a select statement

    Hello

    I have the Oracle Oracle 11.2.0.4 database when I run a select query.

    Question:

    10 columns have given Date format. When I try to execute this query into a FROG he says, a month not valid. Since the records are billion in nature, I am not able to know which line has this problem.

    Is there a way I can capture the failed row and add it to other tables and continues with the select statement regardless of this error

    OK, you have several TO_DATE functions fed a string that is built on the fly.  At least part of the time, the chain that is built does not match the date format mask used.

    For example:

    TO_DATE (SUBSTR (TO_CHAR (SQ_W_PURCH_CYCLNS_ORA. LAST_SUBMITTED_ON_DTTM_WID), 0, 8). » -'|| SUBSTR (TO_CHAR (SQ_W_PURCH_CYCLNS_ORA. (LAST_SUBMITTED_ON_DTTM_WID), 9, 6), "YYYYMMDD-HH24MISS")

    "SQ_W_PURCH_CYCLNS_ORA. LAST_SUBMITTED_ON_DTTM_WID' does not have a string where characters 5-6 are in the range 01-12.  You'll have to do an analysis on this column.  From its data and how that is managed by to_char.  What ARE the data type of ' SQ_W_PURCH_CYCLNS_ORA. LAST_SUBMITTED_ON_DTTM_WID' and what is a typical value?

    As others have said, this is simply an impossibility for a column of a table to actually have invalid month (or day, or year, or hour or minute or second).  ONLY, you get this error during the conversion of a string to a date with the TO_DATE function.

  • I can capture the SQL statement cuasing a mistake?

    I have an error log this capures SQLCODE & SQLERRM.

    I can also capture the statement real SQL causing the error?

    There is also size stack of calls, stack format error and size error backtrace.

    /* Formatted on 6/21/2011 3:45:40 PM (QP5 v5.149.1003.31008) */
    BEGIN
       FOR c IN (SELECT TO_NUMBER ('hey Im not a number') FROM DUAL)
       LOOP
          NULL;
       END LOOP;
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.PUT_LINE ('SQLCODE :' || SQLCODE);
          DBMS_OUTPUT.PUT_LINE ('SQLERRM :' || SQLERRM);
          DBMS_OUTPUT.
           put_line (
             'call stack...' || CHR (10) || DBMS_UTILITY.FORMAT_call_STACK ());
          DBMS_OUTPUT.
           put_line (
             'Error_Stack...' || CHR (10) || DBMS_UTILITY.FORMAT_ERROR_STACK ());
          DBMS_OUTPUT.
           put_line (
                'Error_Backtrace...'
             || CHR (10)
             || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE ());
          DBMS_OUTPUT.PUT_LINE ('----------');
          RAISE;
    END;
    
    SQLCODE :-1722
    SQLERRM :ORA-01722: invalid number
    call stack...
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    c0000002a56b4248        11  anonymous block
    Error_Stack...
    ORA-01722: invalid number
    Error_Backtrace...
    ORA-06512: at line 2
    ----------
    
  • I am unable to do the windows updates. My computer States tries to install 1 of 25, but no progress.

    I am unable to do the windows updates. My computer trying to install updates, but is blocked to install 1 of 25 updates.

    What should I do now?

    Thank you very much. I solved the problem using Fixit after a suggestion of TaurArian.

    Also, he told me how to not to receive other suggestions.

    Thank you for your help.

    Susan J.

  • Windows 10 Ent 64 Build Base: Unable to detect the system for capturing diameter drive

    I have a w Optilex 7010 last BIOS should I use to build a base for Win10 Enterprise 64 OS (I don't have access to many recent PC for that). Windows 10 installs fine and runs normally. 1st attempt: DIA was installed on the PC itself, used the Capture of Image w/o Sysprep functionality in an attempt to capture the image of maintenance.  Operation went very well until it restarts. It then stopped at part load Dell PE and possibly erroneous on indicating he could not find an OS disc (basic internal SATA drive). Then restart same result. Cannot go back to the operating system at all now. I created a USB DIA drive using the environment, that I installed on the base before attempting to capture the image of maint generation to win 10 7010. So I rebooted with this USB key, it starts in the environment DIA with success however she also threw an error at a later time she could ' t find an operating system drive. She would see my external drive fine based on a location to save an image, but nothing for the reader of the system itself.

    Before that I spend another day on what I want to know if I'm doing something wrong or if this model will not work for this? BIOS change for this model?  I've used this on Win7 many, many times without problem now, nothing seems to work without a fight every step of the way!

    Problem solved

    We had replaced the drive to factory in the 7010 with a former for use in the trial. This old (2005 SATA) drive was the question. I noticed when I went to try on another drive just to rule out it. When the 7010 factory reader was placed in the system of these errors went away. Image was captured and restored.

  • I'm unable to get the registration code for my Blu - Ray player

    I'm unable to get the registration code for my Blu - Ray player. I followed the instructions and all I get is the statement: device is registered. I can't register for the most part without a valid code. Please let me know how I can get the correct code. Thank you

    If you were able to enter the registration code the first time you tried to save the player before then you don't need to do it again. Just bought this drive? If so, was it a screen or mixed open-box model?

  • Error message "unable to load the shared library.

    I try to get my programs for school to work, and I get these error message whenever I try to run anything. The last line of the State of deployment is as follows:

    Deployment time get NLVSim and isAcceptedStep.vi IsAcceptedStep.vi and NILVSim get busy with errors on the target and has been closed.

    LabVIEW: Unable to load the shared library NILVSim.*: SIM_GetTimeAndIsAccepted:C. make sure the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    I tried everything I can think of to fix this. I checked NEITHER Max and I'm all for date on the software. I reinstalled LabVIEW twice, and I reset my myRIO. My classmates do not experience problems with getting theres to work. I start to lose hope and hope someone might know what the question. Thank you for your help.

    WubaDee,

    NILVSim is part of the LV Control Design and Simulation Module. This one is correctly installed on your Windows development system and you installed it on your myRIO?

    Norbert

Maybe you are looking for

  • How to restore lost notes?

    I deleted a large number of unnecessary e-mails, after doing so, I lost most of my notes. How can I restore my notes?

  • Problems with songs

    Hi everyone my name is Gaston and I am of the Argentina, I'm really happy with my sansa 8 GB clib, here, this gadget is really expensive and even more difficult to find. My problem is that some songs appear not in WMP or Rhapsody, a good number of so

  • Is it possible to change the size of a WMA file?

    In my music library, I have a WMA file, that contains a song, which I want to keep, followed by a number of conversation minutes, which I don't want to keep.  Is it possible that I can somehow shared this WMA file into two pieces so I can remove the

  • Sprint HTC Hero install

    Hi, I am trying to install my hero htc sprint on my computer so I can download photos, but I do not have a disk and its does not work, I have vista.

  • IBM Thinkpad 1024 x 768 TFT LCD screen

    I have an IBM Thinkpad A30 2652-44U - works fine - but it offers me only the default monitor - how to access the LCD TFT screen - if I go into view......... Advanced settings monitor... the LCD is listed but not highlighted... just the monitor by def