String CDF functions not working in business rules

Working with EPM 11.1.2. I created a calc script on the planning cube and it works perfectly. I then put the same code in a business rule and it will not validate. Please see the code below.
1) created udf folder in following directory
essbase/Oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseServer/java
2) modified udf policy to grant access to all
3) saved CDF_String.jar file to new udf folder on server
4) registered functions via maxl
5) stop/start application
6) stopped/started EAS services
I get the following error in the message window (line 9 is the JGetStringFromDouble statement):
"Encountered " "-> " "-> "" at line 9, column 35.
Was expected one of:
What do I need to do to get this code working as a business rule since I want to use RTPs in this routine?
FIX("No_Profit_Center", FY07:&CapAppEndYr, "Working Plan", "Current", "Manual_Input", "LOC", @Relative("Period",0), @Relative("Project",0), @Relative("Entity",0))
"AC_Unappr_Fcst_Depr"
  IF ( "AC_Unappr_Fcst_Depr"  == #Missing)
     IF ("FY07"->"No_Period"->"AC_Depr_CC" != #Missing)
          "AC_Unappr_Fcst_Depr"->(@MEMBER(@CONCATENATE("EN_",@JgetStringFromDouble("FY07"->"No_Period"->"AC_Depr_CC",@_False,@_False))))  = "AC_Unappr_Fcst_Depr_Temp";
    ELSE
          "AC_Unappr_Fcst_Depr" = "AC_Unappr_Fcst_Depr_Temp";
    ENDIF
  ENDIF
ENDFIXEdited by: jjdubb on Jun 11, 2012 9:10 AM

I've had this issue with a different string function. Business Rules does not like the boolean parameters (@_FALSE) used in these CDF's. I had a similar issue and had to rewrite my CDF without the parameters. You basically need to hardcode the "with quotes" and "with decimals" parameters in the java code.
Hope this helps,
- Jake

Similar Messages

  • RTP not working with Business Rule

    I am trying to create a buisness rule that fixes on a member in a custom dimension based on a run time prompt using Calc Manger (11.1.2.2).  I created the variable at the cube level, set it to 'Member' and selected the appropriate dimension, and selected RTP.  The FIX statement is very simple FIX("Current",{Contract}).  The rule validates and deploys with no problem.  When running the rule either on form save or through Business Rules I receive the error: "error parsing formula for [FIX STATEMENT] (line 2): invalid object type.  If I change the variable to uncheck 'RTP' and place the same member used previously as the Default value the rule runs no problem.  Is there any reason why the rule appears to not be able to read in my RTP selection?
    Thanks,
    CS

    Though this is not a calc manager issue, I am sure the member that Planning is picking up is a member that is set tyo dynamic calc.
    You cannot use a member that is set to dynamic calc in a fix.
    -Sree Menon

  • LCM Export not working for Business rules in 11.1.1.3

    Hi,
    I triggered an LCM export for Business rules (just 2 rules) with the admin id and its in in progress state for the past 2 hours. I don't think its making any progress as  I checked the below,
    1) No LCM logs created in the /hyperion/common/utilities/logs/LCM/ folder.
    2) No export directories are created in the Import/Export folder.
    3) No errors registered in the shared services logs.
    What could be the reason for this issue?
    Is there any other logs which I missed to check?
    Is there a way to kill this apart from recycling the services?

    This is a known issue and has to do with the http timeout settings. Usually this will happen on the 5 minute limit, but it depends what setting they have.
    Take a look at this article and see if it applies:
    Business Rules That Take More Than Five Minutes to Execute Are Re-launched Repeatedly [ID 755406.1]
    Agnete
    Edited by: Agnete on Oct 22, 2012 12:51 PM

  • "Like" sql function not working  in Business Service

    Hi all,
    I have created a query with few Joins (Processing around 4-5 tables).It has Two scenarios, One with Equals and the other with Like function.
    SELECT
    ST.STREET,
    ST.DECOMPLEMENT,
    ST.STATE,
    LC.LOCALITY,
    DS.DISTRICT,
    ST.CDZIP,
    SP.street_type
    FROM
    STREET ST,
    DISTRICT DS,
    Locality LC,
    Street_Type SP
    WHERE
    ST.CDZIP LIKE ?
    AND ST.STARTDISTRICT = DS.DISTRICT (+)
    AND ST.LOCALITY = LC.LOCALITY (+)
    AND ST.STREET_TYPE = SP.street_type (+)
    When There is an Equal Sign after Where clause, The query gives desired output. But when there is a LIKE it does not give any output at all. How can i use this Query using perform operation.

    Hi Arun,
    How are you using it? Using DB Adapter / X-Query function? I have run similar SQL Queries easily through DB Adapter.
    Regards,
    Anuj

  • Not able to sign into Blackberry Protect. Backup and Restore function not working. "Your device isn't associated with a Blackberry ID"

    Not able to sign into Blackberry Protect.  Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID."  My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone.  I can sign into Link, Blackberry.com and Protect.  I see my device in Protect but cannot send messages or view it on a map.  Times out with cannot reach device message.  BB Protect on Device has a swirling circle beside the on/of switch.  Cannot turn off.  
    I have deleted Link and re-installed.
    I have reset phone to default(factory) and signed in. 
    OS level is 10.2.1.3062
    BB Link is 1.2.3.56
    Solved!
    Go to Solution.

    I managed to figure this out myself. I had to delete the device from the Blackberry Protect website.  protect.blackberry.com.  I wiped my device again and signed in with my Blackberry ID.  I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete.  Restore is in progress for me!

  • Copy/paste function not working in Firefox 22. Always good in previous versions

    Copy/paste function not working in Firefox 22. Always good in previous versions editions

    Well I've uninstalled FF22, thanks for the suggestion.
    Chrome works perfectly with ZA and C&P.

  • Why is the scroll function not working after accessing the voice feature in settings?

    Why is the scroll function not working after accessing the voice feature in settings?

    For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
    If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
    Set the current key and tempo, name the loop, and save the loop.
    Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
    You will be able to transpose the sample as described above, like a regular loop.
    For example - a audio file turned into a loop and transposed:

  • MDX -Children count function Not working in Case statement

    Hi,
    I am trying to create set when you slice with the Hierarchy member is leaf level , I want a output only that Leaf level .
    and When I slice with  the parent level , it has to give all the members below that parent level.
    But the problem here is when I select child member or leaf member , The first condition in the Case is not working
    WITH SET
    TESTSET AS
    CASE
    WHEN
     [Dimension].[Hierarchy].currentmember.children.count<0
    THEN
     [Dimension].[Hierarchy].currentmember
    ELSE
     DESCENDANTS([Dimension].[Hierarchy].Currentmember,,AFTER)
    END
    SELECT
    WBSSET ON 1,
    {} on 0
    FROM
     (SELECT {[Dimension].[Hierarchy].&[10]} ON COLUMNS FROM [CubeName])
    Thanks,
    Santosh

    Hi Santosh,
    I don't think Children count function not working in case statement, I have tested it on my local environment, here s the sample query for you reference.
    with member
    testset as
    case
    when
    [Geography].[Geography].currentmember.children.count<10
    then "X"
    else "OK"
    end
    select testset on 0,
    {[Geography].[Geography].[Country].members} on 1
    from
    [Adventure Works]
    In your scenario, the issue might be caused by the query isself, you can try to use IsLeaf Funcion to achieve your requirement. Please refer to the links below.
    http://msdn.microsoft.com/en-us/library/ms144932.aspx
    http://www.databasejournal.com/features/mssql/article.php/3633696/MDX-Operators-The-IsLeaf-Operator--Conditional-Logic-within--Calculations.htm
    http://www.mdxpert.com/Functions/MDXFunction.aspx?f=22
    Regards,
    Charlie Liao
    TechNet Community Support

  • Palm Desktop 6.2.2. and Lookup function not working in Windows 7

    Palm Desktop's lookup function not working in Windows 7 64bit. Please help.
    Post relates to: Centro (Verizon)
    This question was solved.
    View Solution.

    I was able to solve this by unchecking compatibility mode and setting the application to run as administrative.

  • Send & Recieve functionality not working with  WebDav after installing Acrobat XI

    Send & Recieve functionality not working with  WebDav after installing Acrobat XI for PDF.  Acrobat XI is complete installations(Trial Version).

    Hi Kiro ,
    Did you try opening that file in any other browser ?If not ,please try doing that once and see if that  works for you.
    Try Repairing Acrobat once and see if  that helps.
    Launch Acrobat>Navigate to Help>Repair Acrobat Installation.
    Regards
    Sukrit Dhingra

  • Keyboard + mouse functions not working

    After updating InDesign CC 6-days ago started to have issue with all keyboard + mouse functions not working ex. shift key does not constrain proportions when scaling. A restart fixed the issue thr first time. Today I have installed latest update and shut down and restarted several times does not fix issue. On a MacBook pro running OS X Mavericks 10.9.2.

    Disconnected extrenal devices ie keyboard and Wacom Bamboo tablet and restarted computer seemed to correct the issue.

  • In my ipad zoom function not working..some day before it worked,but when i double pinch with my three fingers it zooms negligible, wat to do?plzz help me..

    In my ipad zoom function not working..some day before it worked,but when i double pinch with my three fingers it zooms negligible, wat to do?plzz help me..

    It works when I reset my all settings...
    Settings>general>reset>reset all settings
    It never delete ur all contacts and any others,but ur wallpaper and wifi connection will change..it can be as before...

  • HT204168 touch screen function not working when using facetime

    Why is my iPad touch screen function not working when using FaceTime?

    Hi megascones,
    I apologize, I'm a bit unclear on the exact nature or scope of the issue you are describing. If you are having issues with the touch screen on your iPad, you may find the troubleshooting steps outlined in the following article helpful:
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Regards,
    - Brenden

  • Why is my touch screen function not working when using facetime

    Why is my touch screen function not working when using facetime

    Hello megascones,
    After reviewing your post, it sounds like the screen is not responding to touch in one app. I would recommend that you read this article, it may be able to help the issue.
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Restart your device. If you can't restart, reset your device.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • HT1977 I bought apps. My kid delet that after few weeks. Then I have downloaded to same ipad. But some functions not working.

    I purchase some apps, my son deleted some. But I have download again from cloud. But some functions not working ask me to pay again. How can I use functions without paying again.   Thank you

    Search around on the app settings and see if there's a "Restore purchases" option.

Maybe you are looking for

  • MAC OS X Lion

    Hi, some users wanted to upgrade to the new MAC OS X Lion. But after some checking on our part we found that /usr/local/novell/zenworks/umia/zenumia is no longer supported. Because PPC is no longer supported with MAC OS X Lion. This is part of the In

  • Securiety Settings in Microsoft Excel Prohibit XL Reporter from Running

    Hi Forum, I had little problem with XL Reporter. XL Reporter starts but when i am going to run reports, it gives me error ..... " Securiety Settings in Microsoft Excel Prohibit XL Reporter from Running ". I have done below given things in Microsoft E

  • SELECT BUTTON WONT WORK

    This is really ******* me off. If i ever buy an 1st gen ipod mini ever again it will be to soon, i now know why they dicontinued it. Anyways i bought a broken mini from ebay with a broken clickwheel wire. I than bought and installed a 1st gen clickwh

  • PLEASE NEED HELP! CAN'T COMBINE AUDIO CLIPS AS ONE FULL CLIP!

    I am getting very frustrated! I have split two audio clips and want to join them together to create one audio clip (the audio is of the same song, just split) There is other audio before the clip that I split that I got rid of, so now I just have the

  • Blocking P2P applications on WRT300N (V1)

    Hello, I am currently using a WRT300n V1 with firmware version 1.03.6. Having trouble with my room mate downloading a hell lot of stuff using bittorrent. I talked to him but he refuse to stop. I play an online game and i am getting 1000+ ping which m