How to use conditional success Screen in SMP2.3 HWC?

Hi All,
  Do anybody have reference for conditional success screen,
I gone through this link SUP 2.2 Conditional Navigation Issue
but i didnt able to do how to use conditional success Screen.
If anybody have reference please provide me.
Regards,
Sravanya

That works. Follow the below steps.
1. Create a key on the selection screen: click on the selection screen>properties>keys>Add a key,ex. "value".
2. MenuItem>In the properties of menu item>Parameter mappings>map the key with the key created in last step.ie. "value" instead of the key of the choice box.
3. Get the value selected from choicebox:
function customValidateScreen(screenKey, values) {
  if(screenKey === "Selection")
  var form = document.forms[screenKey + "Form"];
  if(form){
  SelectionValue = form.ChoiceboxKey.value;
//ChoiceboxKey is the key of choicebox.
//Declare a global value "SelectionValue "
3. Map PK from program:
customBeforeSubmit = function(screenKey, actionName, dataMessageToSend) {
  if(screenKey =="Selection" && actionName=="GoToChart" ){
  var myNewValue2 = new MessageValue();
  myNewValue2.setKey("Value");// Key created in the screen "Selection"
  myNewValue2.setValue(""+SelectionValue );
  myNewValue2.setType("TEXT");
  var mvc = dataMessageToSend.getValues();
  if( mvc ) {
  mvc.add( myNewValue1.getKey(), myNewValue1 );
// So in the above way the data from choice box is send to online request.
To do the conditional navigation you have to use the global value created,ex.
hwc.customConditionalNavigation = function(currentScreenKey, actionKeyName, defaultNextScreen, conditionName, incomingDataMessage) {
  if( conditionName === 'Data'&& SelectionValue == "PieChart") {
         return false;
     }else{
    return true;
Hope you understand how I did this.
Midhun VP

Similar Messages

  • Push Notifications to end users and Conditional Success Screen Name ?

    Hi,
    Scenario: PO Approval
    Description: I am developing a PO approval application with 3 levels of approval. The HWC application is based on the push notification ( DCN with payload ). When a PO ( Purchase Order ) is created/modified the end user will get the notification. Once the first 2 levels of approval is done from the mobile devices the notification should reach the 3rd level for approval. And Conditional Based Users only View there Profiles, If an User1 Approved PO Approval then only User2 Will get Push Notification but  for User3 it will not Visible, Oncethe User2 Approved then Only User3 will get Push Notifications and these 3 Profiles have to be log in Based on Condition Name & Conditional Success Screen Name.
    Question: How to set to which user the notification should reach. In the "to" field of JSON when I am providing "supAdmin" means the notification will reach all the devices who has the application. Once a PO is created the notification should reach only to user in the first level. Once he approves the PO, then only it should reach to the user in the 2nd level. And finally 3rd level.
    Here Conditional Name is the best way to Log In or is there any other way to show the User based Log in Details, Because Here I am showing a List of Items Based On Log In,  and Based On Log In user Has to view there List of Products and Status.
    How to manage this situation.
    Midhun VP can you please help me on this.
    Thanks,
    Vamsi K

    Yes, DNS is is fundamental for networks, even for Windows networks. The DNS is working well for the existing Windows network and there are no problems in distributing certificates etc.
    There are more than 150 users and 180 devices on the network without DNS problems.
    I don't know how to discover a DNS problem... Windows works well.
    DNS resolves fine... dig does it for "a" records and "ptr" records. nslookup resolves, too.
    When the problem is a faulty DNS, why does the usage of users/devices from OD work with Profile Manager?
    Renaming and/or migrating the ActiveDirectory is not possible. First, I want to be sure that there is a faulty DNS.
    The .local TLD is not optimal for Bonjour/mDNS but I can't believe that there is no workaround

  • How to use functions and views in SMP2.3

    Hi all,
       I am new to SUP/SMP, I did some samples for hwc like create the MBO with object queries and operations using tables. Now i have a doubt 
         Is it possible to use sql functions in smp2.3?
         If it possible how to use them?
         for Select Query can i use stored procedure?
    Ex: Select * from Employee where EmpID=:empid for this querey i wrote a stored procedure like this
    Create procedure Emp_sp(@empID int)
    as
    begin
    Select * from Employee where EmpID=@empID;
    end
    This procedure shown in my database connections profile.
    I created an  operation,
    when i invoke the operation this procedure is visible in the operations list, i give the success screen in that i put a listview but here the attributes are not comming.
    Is there any mistake in my approach,
    Please suggest me.
    Thank you.

    I will suggest you to look at official document for more understanding:
    SyBooks Online

  • How to use At Selection Screen for fields whiledealing with Multiple Blocks

    Hi Guys,
                In my requirement i am having 4 blocks.1st block with raduio buttons for activating the opther 3 Blocks.
                  In these 3 blocks i am having some fields.
           How to do Validation for these fields.?
    I am using At Selection-screen on S-SCAD1. I am getting error"S_SCACD1 is neither a selection screen nor a Parameter"
    On the top of this" At Selection-screen on S-SCAD1" I am having"AT SELECTION-SCREEN OUTPUT."
                    Can anybody tell me how to solve this error?
    Thanks,
    Gopi.

    If you are using your block name than you should use like:
    AT SELECTION-SCREEN ON BLOCK S-SCAD1.
    Regards,
    Naimesh Patel

  • How to use dynamic selection screen inputs in main program

    hi all,
      its a report where in it calls one dynamic selection screen( user need to enter the parameters here) after that i need to use those inputs for some check, can any buddy help how to use/ get that input parameters into main program.
    regards,
    vara..

    Hi,
    i think u have created that dynamic selection screen in seperate program and calling to ur main program.instead of that u just create that synamic selection screen program as include program and include it in ur main program.
    or u need to use set/get parameter id concept.
    rgds,
    bharat.

  • How to Use My TV screen as a Computer Screen

    Hi everyone,
    I have a 24" Intel IMAC, 1 year old. Great computer! I saw in some other posts that this is possible but I didn't quite understand what I need to do. I would like to use my TV screen as a computer screen, so I can watch things like my subscription to MLB.TV or any other video that I can play on my IMAC. I saw in some posts about using an Apple Video Adapter. Please be specific for me, is that what connects from the back of my IMAC? If so which slot? And going out from the computer, what does that connect to? What should I buy? And from there I can use a composite cables to connect to my TV? Yes, I have inputs for those on the TV.
    Thanks in advance to anyone who helps.
    Bill

    Your TV based on the jacks present (which are the same as ports), sound like quite an antique. Modern TVs have special jacks for computer hookup. Sounds like your TV has none. The best you'd hope to achieve is 720 x 480 resolution which would result in very little room for the windows on your screen, and very large text on your TV. Trying to even get the menubar and dock on the screen will be a challenge since TVs that only offer 720 x 480 resolution don't offer any screen area beyond the screen safe area for the menubar and Dock to be visible. It will just center on the screen's center, cutting off 20% of the exterior four sides. Ideally you'd want a 1080P HD-TV for computer hookup.

  • How to use Conditional statements in SQL Loader control file

    Hi,
    I am using sql loader to load a flat file to the table. I am using control file for this purpose as show below:
    LOAD
    INTO TABLE store_shrink
    TRUNCATE
    FIELDS TERMINATED BY "     "
    TRAILING NULLCOLS
    SITE_ID char,
    ST_SHRINK char,
    ST_REVENUE char,
    SHRINK_PR char ":ST_SHRINK/:ST_REVENUE"
    My question is this. If in the flat file the value of 'ST_REVENUE' is '0', then I want 'SHRINK_PR' to be '0' as well, and skip the calculation (:st_shrink/:st_revenue).
    How to achieve this with the conditional statement or using any Oracle function?
    Any help or suggestion is greatly appreciated.
    Thanks in advance.

    Hi there,
    I tried the following in my above query and it doesn't work somehow. Anyone has an idea? I have been on internet throughout but to no avail. Please help:
    LOAD
    INTO TABLE store_shrink
    TRUNCATE
    FIELDS TERMINATED BY "     "
    TRAILING NULLCOLS
    SITE_ID char,
    ST_SHRINK char,
    ST_REVENUE char,
    SHRINK_PR char "case (when :st_revenue<>'0.00' then :SHRINK_PR=:ST_SHRINK/:ST_REVENUE else :SHRINK_PR='0.00') end"
    )

  • How to use tv as screen

    I conected a cable with a hdmi adapter to the mac and an hdmi cable to the tv
    i can see the video playing on the mac but the tv screen shows the universe`s image from the mac without session.
    how i can send the video image or movie to the tv
    thankx
    marion

    You have the display set in Extended Desktop mode. In System Preferences>Display on the MacBook screen there should be an Arrangement tab when you have the MacBook hooked up to the TV and both screens working. When you click the Arrangement tab do you see two monitors side by side? One of them will have a Menu Bar at the top. Justclick on the Menu Bar and drag it to the second monitor. That will make the second monitor your main screen. You can now use your MacBook in Clamshell Mode with a wired or Bluetooth keyboard and mouse.  http://support.apple.com/kb/HT3131 When you disconnect from the TV your Menu Bar will automatically change back to the MacBook.
    Or if you want to work on the MacBook screen while showing it on a TV you can check the Mirror Display box on the lower left hand side of the Arrangement tab under the two monitors box.

  • How to use 'at selection screen on exit command'

    Hi,
    How do I use the above event in the following scenario.
    Scenario: I have a report program which has two radio buttons on the selection screen to which user command is assigned. On selection one, some fields should get disappeared on the selection screen. But one of the fields is a mandatory field, which doesn't allow to proceed unless we enter some value in that(which is redundant since anyway it will be disappearing).
    I thought 'on exit command' event works, but the user command assigned to the radio button is not of type E.
    Issuing a message at selection screen instead of making the field mandatory will work, but I don't want to do that.
    Can anyone please tell me how to handle this?
    Incorrect answers will be suitably punished.
    Thanks,
    Sumanth
    Edited by: Julius Bussche on Sep 26, 2009 12:40 PM
    Silly comment suitably modified.

    do not make that field mandatory using obligatory. so now your radio button work is done.
    now, how to make the field look like and work like mandatory field on execution:
    at selection-screen output.
    loop at screen.
       if screen-name = 'P_MAN'. " lets say this is the field which you want to make mandatory.
          screen-required = 2. "this will just  put a tick mark on the input , looks like mandatory.
       endif.
    endloop.
    now, how to check the mandatory option.
    at selection-screen.
    if p_man is initial.
      display your message to fill this.
    endif.
    hope this helps...
    and as per forum rules, kindly do not encourage people by talking about forum rules.

  • Rule Author-How to use own JSP screen instead of Rule Author Customization

    hi' I am using Oracle Business Rules and creating Rule Repository using Rule Author however
    I want to use my own JSP screen for customization of Rules instead of using Rule Author customization screen.
    please tell me how to do this.
    thanks
    Yatan
    Edited by: Yatanveer Singh on Jan 29, 2009 5:19 AM

    oracle provides API to edit rule repository programmatically. To use your custom JSP pages you need to write your wrapper classes over following oracle rule API classes:
    oracle.rules.sdk.editor.ruleset.Rule
    oracle.rules.sdk.editor.ruleset.RuleSet
    oracle.rules.sdk.editor.ruleset.Action;
    oracle.rules.sdk.editor.ruleset.AdvancedExpression;
    oracle.rules.sdk.editor.ruleset.Expression;
    oracle.rules.sdk.editor.ruleset.Pattern;
    oracle.rules.sdk.editor.ruleset.SimpleTest
    Once you create wrapper you can use them as pojos to build your custom rule author screen.

  • How to use the external screen with mac book closed?

    how to keep my macbook on when the screen is folded down?

    thanks! have to have both mouse and keyboard? can i just have either one? do they have to be apple mouse or keyboard? can i still have it running without any usb things connected? (ie when i am just using it to connect to a TV for movie)

  • How to use blue/green screen?!

    HI
    I'm a new user to FCE so i maybe sound like a noob, but how do you use the methods of blue/green screen thing. !?
    thx

    "I understand from Wolsky's book that you really can't deal with HD green screen in Final Cut Express 3.5."
    Really? I said that? There is one particular problem with HD material in FCE in that that AIC color space is 4:2:0. There is no color smoothing filter for this. I believe Graeme Nattress has one for this. There is a color smoothing filter for DV NTSC standard definition, which is 4:1:1. DV PAL has the same problem BTW, as it's also 4:2:0.
    Aside from that the chromakeyer works decently with well shot material. For a really high quality key you should look to third party software.
    There is no difference between 3.5 and 4 in this regard.

  • How to use a second screen in proper full hd?

    Hello everyone!
    If i use my full hd monitor on my 2013 11 inch mba, even if i use the 1080p output settings it just doesn't looks like actual full hd.
    Instead of seeing more, i just see exactly the same as on the screen of my mba – just blown up and blurry. ist there any way to fix this?

    I think two things could be happening here:
    1. DVI cable may be faulty - I am assuming you are using a DVI-D cable. You can check out the different types of DVI cables from here: http://en.wikipedia.org/wiki/Digital_Visual_Interface
    or
    2. DVI port on your computer is not working
    I work on behalf of HP.

  • How to use Mac *encrypted* screen sharing from iOS

    Hello,
    I have a Mac Mini running Yosemite Server that I can access from a remote Mac, using Screen Sharing app. I have selected "Encrypt all network data" and this works very well.
    Now I'd like to do the same thing from my iPhone or iPad (both are running iOS 8): access my Mini in the same way I already do from the remote Mac. But I want my connection to be as secure. All data must be encrypted between the Mini and my iOS device.
    What is the best way to achieve that? What are the best iOS apps? I've tried some VNC apps but they don't seem to manage encrypted sessions. Did I miss a subtle setting, either on my Mini or on the iOS apps?
    Any help is truly appreciated.

    Hello,
    I have a Mac Mini running Yosemite Server that I can access from a remote Mac, using Screen Sharing app. I have selected "Encrypt all network data" and this works very well.
    Now I'd like to do the same thing from my iPhone or iPad (both are running iOS 8): access my Mini in the same way I already do from the remote Mac. But I want my connection to be as secure. All data must be encrypted between the Mini and my iOS device.
    What is the best way to achieve that? What are the best iOS apps? I've tried some VNC apps but they don't seem to manage encrypted sessions. Did I miss a subtle setting, either on my Mini or on the iOS apps?
    Any help is truly appreciated.

  • How to use iPhoto in screen saver under maverick os

    With the Lion or Leopard O/S i am able to use my pictures directly from  iPhoto as screensavers.  However after upgrade to Maverick, it is now impossible to select iPhoto events as a source for any of the screensavers!
    any ideas, please help!

    I too am having the same issue.  I have a circa 2007 iMac, and recently upgraded to OS 10.9.1.  I also moved all of my photos to an external hard drive (currently have iPhoto 9).  When I try to set to set up the computer screensaver, the iphoto library on the external drive is greyed out.
    I may upgrade to iPhoto 11 if that it requirement, but if there is an easier solution, I will go for that. 
    Thanks for any feedback!!

Maybe you are looking for