SUP workflows - parameter mapping needs to be done dynamically

Hi Experts,
I have a requirement where I need to map parameters depending on the menu options selected by the user.
there are three menu options - create, check and send and each of them needs different  parameter mappings. for e.g. if  user selects create then 'create' should be mapped to corresponding parameter and similarly for others
I thought of changing (adding/removing) keys in related functions in Workflow.js, but not sure if it 'll work or if its a good practice.
Any pointers are appreciated.
Regards,
Victor

Your best bet is likely to use the same parameter mappings and change the key values dynamically at runtime in the customBeforeMenuitemClick.  You certainly can change the code in Workflow.js, but its not recommended, as it'll be overwritten every time you regenerate (unless you turn the Generate checkbox off).

Similar Messages

  • I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query parameter to report parameter i need to pass distinct values. How can i resolve this

    I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
    parameter to report parameter i need to pass distinct values. How can i resolve this

    Hi nancharaiah,
    If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
    None
    Specify values
    Get values from a query
    If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
    sample is for your reference:
    Select distinct field_name  from table_name
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • ACE - need help implementing basic parameter map

    Hi,
    I'm trying to implement a connection parameter on an ACE module that sumply sets the TCP timeout to 0.
    I can get this to work fine if I permit all TCP traffic in the class-map, but it doesn't work if I use an ACL;
    >>Match all TCP;
    parameter-map type connection TCP-Timeout
    set timeout inactivity 0
    class-map match-all TCP-Timeout-Out-Class
    2 match port tcp any
    class-map match-all TCP-Timeout-in-Class
    2 match port tcp any
    policy-map multi-match TCP-Timeout-Out-Policy
    class TCP-Timeout-Out-Class
    connection advanced-options TCP-Timeout
    policy-map multi-match TCP-Timeout-in-Policy
    class TCP-Timeout-in-Class
    connection advanced-options TCP-Timeout
    Interface vlan 920
    service-policy input TCP-Timeout-in-Policy
    Interface vlan 923
    service-policy input TCP-Timeout-Out-Policy
    >>Match ACL;
    access-list TCP-Timeout-Group-Out line 10 extended permit ip 10.221.178.0 0.0.0.255 any
    access-list TCP-Timeout-Group-in line 10 extended permit ip any 10.221.178.0 0.0.0.255
    parameter-map type connection TCP-Timeout
    set timeout inactivity 0
    class-map match-all TCP-Timeout-Out-Class
    match access-list TCP-Timeout-Group-Out
    class-map match-all TCP-Timeout-in-Class
    match access-list TCP-Timeout-Group-in
    policy-map multi-match TCP-Timeout-Out-Policy
    class TCP-Timeout-Out-Class
    connection advanced-options TCP-Timeout
    policy-map multi-match TCP-Timeout-in-Policy
    class TCP-Timeout-in-Class
    connection advanced-options TCP-Timeout
    Interface vlan 320
    service-policy input TCP-Timeout-in-Policy
    Interface vlan 323
    service-policy input TCP-Timeout-Out-Policy
    Any ideas?
    Many Thanks

    Try changing the class-map from "type match-all" to "type match-any". Match all implies both statments need to be true. The match-any is probably what you want. Either of the ACL statements can be true.
    Also try to apply the policy globally instead of the interfaces, simplifying the config might help as well.
    e.g.:
    access-list TCP-Timeout-Group line 10 extended permit ip 10.221.178.0 0.0.0.255 any
    access-list TCP-Timeout-Group line 20 extended permit ip any 10.221.178.0 0.0.0.255
    class-map match-any TCP-Timeout-Class
    match access-list TCP-Timeout-Group
    parameter-map type connection TCP-Parameter-Map
    set timeout inactivity 0
    policy-map multi-match TCP-Timeout-Out-Policy
    class TCP-Timeout-Out-Class
    connection advanced-options TCP-Parameter-Map
    service policy input TCP-Timeout-Out-Policy <- apply it globally
    Hope it helps.
    Roble

  • Based on qulity the payment is need to be done to vendor ?

    Dear friends,
    i have a scenario to map,
    base on Quality parameter(eg, purity, GSM,etc) , after UD, The vendor payments need to be done .
    please tell me the apporach.

    Hi,
    Maintain these two characteristics in the Quality master data.
    You can reject the material during inward inspection if it doesn't meet requirement.
    If you find the defect during the operation (Process) you can raise Q2 notification and you can send the material back to vendor and payment will be deducted for the returned quantity.
    contact your QM and FI functionals.
    Madhava

  • How to apply parameter map?

    Ok this may seem a bit of a dumb question but I just can't get a straight answer from Googling or from the IOS release 15.2 Security Config guide for ZFW.  So,I am editing the parameter map that governs tcp queue length in the OoO (Out of Order) global parameter map:
    Router(config)#parameter-map type ooo global
    Once I've made my changes, do I need to add this to a policy map?  Or does this just go into effect by default somehow? 
    Thank you.

    Hi Julio,
    Well, I bought this ebok at Cisco Press ($14.99).  I don't have a Kindle unfortunately.  Normally I'd try bittorrents for this kind of thing but when it comes to business and work related material I like to keep it official. 
    The ebook is only 112 pages which is good since I already have the CCNA Security book from Cisco Press queued up for reading but I think this ebook will be a good starter and is probably more to the point with real world talk. 
    By the way, if you answer my question above, I can then Mark Correct Answer    Since I have the OoO parameter map defined, do I now need to apply it?  I know reading the book might give me an answer but just so I can get this particularthread off of my "to do" list I am hoping for the quick answer.  I know how to apply a parameter map to a policy map, just wondering whether these global ones like the ooo one need that, or are they applied by default and so you just need to edit their configs to change how they work. 

  • DCN for SUP workflows 2.0

    Dear Members,
    I went through the DCN approach for SUP workflows 2.0. We are currently deploying SUP 2.0 workflow applications to one of our customers.
    (1) I wanted to know that when I make use of DCN for workflow container, in the JSON string, the "TO" will be supAdmin and from will be the targetted user.
    My question is: Will the targetted user be the "SCC registered" user or the "Sync" user. If I can go with the assumption that  it is the "SCC" registered user,  how will the backend (SAP in our case) know about the SCC registered users.
    (2) As we are also deploying Single Sign on, the LDAP is integrated with SAP for this purpose. We are thinking to use LDAP user name for both  SCC registered user and Sync user . Therefore, even if we write DCN, it can pick the LDAP user name ( as this will be same as SCC and Sync user) and send it to SUP as DCN.
    Let me know your opinion.
    Regards,
    Viju

    Dear Himagiri,
    Thanks for your response. I have one more question to ask.
    In the workflow editor, I see 2 starting points. After going through your explanation, I need your clarification on this.
    (a) Activate - I understand that this is required to activate the workflow user so that this gets registered in SUP. And DCN can use the credentials mentioned in "Activate" to send the notifications ( server-driven).
    (b) Credential Request - We have this one more starting point. Ideally, before the user logs to the workflow application, we use this screen for the user to login his credentials. This is mapped against SUP for authentication.
    I am bit confused with the above starting points. In our case, we have both client driven and server driven. Therefore, to utilize both of these features, when user logs in for the first time,
                             (1) He/She would have to activate with his credentials ( which will be used as reference for server driven)
                              (2) He/She will again use his credentials to login ( which will be used for authentication purpose).
    Kindly let me know whether my above understanding is correct. We really appreciate your inputs here.
    Regards,
    Viju

  • Disk Utility - Partition map needs repair because a data partition needs loader space.

    I just finished setting up both my OSX and Windows installs from scratch after fitting an SSD, which in-turn was right before my logic board died and Apple replaced it, now it looks like I have some sort of hard drive issue brewing.
    This was my plan for the SSD, and how it currently displays in Disk Utility although that wasn't the case earlier:
    And in Terminal:
    My intention was to have two boot partitions for each OS, 'Macintosh HD' and 'Win 7 Pro' and a third shared data partition 'Projects' on the SSD, which I made in Drive Genius after installing Boot Camp. I don't want Macintosh HD accessible from Windows because I'll be using Paragon HFS+ or MacDrive to give write access and don't want OSs stomping on other OSs turf, hence needing three partitions. Everything looked fine until I just checked Disk Management under windows and realised it couldn't see the Projects volume. Even though it's fine in OS X, it was just marked black/unallocated space.
    So I booted back into OSX, all my files look fine so I ran Disk Utility and the Partition tab looked really odd - unfortunately I didn't get a screenshot. All volumes reported their size correctly but visually, Macintosh HD took up most of the drive. I could see 'Windows 7 Pro' under this, but the Partition Layout section had a scrollbar, which if I scrolled down showed 'Projects' squished into a tiny gap at the bottom. I ran a Verify, which reported no problems, and at some time since the Partition Layout has reverted to how it should look (as in the screenshot above), with 'Projects' book-ended by "Macintosh HD' and 'Windows 7 Pro'.
    Now when I run a Verify on Macintosh HD or Projects volumes, it says there's no problem, but if I run one on the drive, I get this message:
    Volume Macintosh HD on disk0s2 has 0 bytes of trailing loader space and it needs 134217728 bytes
    Problems were found with the partition map which might prevent booting
    Error: Partition map needs repair because a data partition needs loader space.
    I've only managed to find one other mention of this error here, but the fix is not relevant to me because I don't have Sophos installed. I've tried Single User/Safe Mode but it just boots into normal mode, so I can't do a fsck -fy.
    ** /dev/rdisk0s2 (NO WRITE)
    Can't open /dev/rdisk0s2: Permission denied
    That value in bytes is exactly 128mb, so I suspect the problem lies with one of the invisible partitions that show up in iPartition and Disk Management under Windows, but not in Disk Utility. I have backups and I suspect the root of the problem is partitioning in iPartition after installing Boot Camp, but I've never had issues with this approach in the past so I'm wary of just giving up and reinstalling Windows again will be massive hassle because I no longer have a SuperDrive and last time it refused to install from USB.
    Anyone have any idea what's going on? It seems like the sort of issue Disk Utility should just handle, at least in Recovery mode, but it's not playing ball. It also doesn't seem like a massive problem since my files all look fine and performance is OK, so I'm reluctant to do anything major.
    I'll update with a shot of the drive in Disk Management from Windows in a few minutes, in case that sheds light on anything. Thanks!

    Similar issue here. I manually partitioned my hard disk for triple boot (using Gparted on Linux), then everything was just fine until I ran bootcamp, to do something as simple as create a boot USB.
    I get the same error as a result and have to work my way into booting, by resorting first to a Linux live USB, then restarting from the live USB, to finally reach my rEFInd boot manager, or whichever boot manager should be initialized at startup.
    I suppose that the cause in my case is that some operation "scratched" the protective MBR. See this:
    http://www.mactech.com/articles/mactech/Vol.23/23.03/APMtoGPT/index.html
    I am hoping to fix it using an external Yosemite installation media: see this guide -
    http://www.macworld.com/article/2367748/how-to-make-a-bootable-os-x-10-10-yosemi te-install-drive.html
    And as a last resort to reinstall.
    I'll admit I am negatively surprised. I need this computer for professional reasons, and for the sake of "preserving the integrity of OSX", measures defined by Apple instead tend to make partitions far easier to damage. And this problem seems to affect a number of users.
    As for what I have to go through to fix it: a 5GB download, during which I have to register my credit card to the Apple Store. "Pay first, get your free software next."
    IF Disk Utility can fix it, from the external media, then fair enough. The hassle is unpleasant but it files as "a choice".
    Otherwise you can file it safely under software design calamity.

  • IDOC to File Scenario - Configuration steps need to be done in R3 and XI

    Hi Experts,
    I am working with IDoc to File scenario. Can someone please explain, what are the steps or configuration things need to be done in R3 and as well as in XI too.
    Thanks in advance.
    Regards,
    Sree

    Hi Sree,
    I thought i will just share a few basic thoughts that you need to take care while doing an IDOC to File Scenario. Just see if it helps you in anyways.
    While doing an IDOC -> XI -> File scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.
    If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
    points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
    IDOC -> File scenario ref:
    <a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>
    File -> IDOC ref:
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>
    To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
    You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
    Also, I would suggest that you go through this blog by michal if any issue arises,
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Also have a look at these forum threads...
    IDOC TO FILE SCENARIO
    idoc to file scenario
    I hope this answers your query.
    Regards,
    Abhy Thomas

  • Created a PDF and added sticky notes, saved and emailed for review, recipient could not see or read the sticky notes.  What needs to be done for my sticky notes to be seen and read when emailed.  Thanks

    I scanned a map and printed to create a PDF document, at that point I added sticky notes of different locations with notes of descriptions, saved and email to client for review.
    Client received email but when he opened the attachment, all he could see was the map and none of my sticky notes.  
    What needs to be done so the recipient can see my sticky notes and read the descriptions for each sticky note?

    Hey roy,
    Could you please tell me what is your Acrobat version?
    Please ensure that recipient downloads the PDF and uses either Adobe Acrobat or Reader to open the sticky notes.
    Regards,
    Anubha

  • MacBookPro SSD Error- ALERT: The partition map needs to be repaired because there's a problem with the EFI system partition's file system.

    MacBook Pro OS x Mavericks. I have Sandisk 256GB SSD and I am getting a below error message.
    ALERT: The partition map needs to be repaired because there's a problem with the EFI system partition's file system.
    Does anyone know how to resolve this error and fix it ? unfortunately I don't have a Time Machine backup. Thanks!

    Have you tried to run the verify/repair permissions and verify/repair disk through the recovery disk? If that didn't work then I would reinstall the OS after backing up. If that still doesn't work I would take it in.

  • Problems with Parameter Mapping

    Hi All,
    I have problems with parameter-mapping. For me its a black box, sometimes it works sometimes not.
    Lots of times my mappings doesnt work, and I dont know the reason.
    For example: I want to map my Execution-CO to the Display-CO. For that I map the in the affected Action.
    But it doesnt work, although I do have the same Context Structures, because its the same CO. The technical Name is also the same.
    What could it be?
    Thanks for answering me
    Bye Steve

    Hi Andre,
    sorry for my late answer, but I'm writing my diploma thesis and wasnt at work since wednesday and so I dont have a access to our GP-System.
    Hope I understood you right.
    The Use Case of parameter mapping is that Users of further steps has the possibility to see the Input of previous steps.
    When I dont map the parameter inside one action, it isnt possible. I tried it out with the SAP example "Time-off-process". I took the CO "Create Request" and add it in one Action (as Display &  Execution). When I understand you right mapping inside an action is not necessary, to see the Inputs from further Actions --> But this way I cannot see the Inputs.  
    The mapping of my application works before I changed it.
    I know never touch a running system, but It was necessary, we need a new Input and Output Parameter.
    Cause I have 20 parameter the mapping was very time-consuming, to map every single parameter. I read a method to reduce the time: Adding a structure requires only mapping of the two structures. But now the Mapping doesnt work.
    Hope you can help me
    Bye Steve

  • Basic configuration settings need to be done in ABAP-WebDynpro.

    Hello Friends,
                         Any Basic setings need to done in the configurator to run WebDynpro-ABAP smoothly, settings like http time out parameter.
    Cheers,
    Sam

    Hi Sam,
    The basic FQDN settings need to be done to run the Webdynpro Abap..
    Here's the link regarding it,
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/e86de5008b4d9ae10000000a155369/frameset.htm

  • Parameter mapping for an action

    can anybody help me with this parameter mapping.
    how we can pass a parameter for an action.
    and how to use that parameter in the implemented coding.

    Hi sarbjeet,
    Rajat has correctly explained your requirement.
    Let me give you example.
    say when the User opens your application it shows a page with one drop down which conatins some values and a button. So If you want to get the value selected by the user on click of the button, then you need to associate a action with the button(which you can define in action property of the button and it will automatically create the method and you can check it in the implementation tab). Now you can write the code for getting the value from drop down in this method. after getting the value you can do what ever logic you want to perform like inserting it into database etc.
    Hope this will clearify logic. If you require the code then please let me know.
    Regards
    Narendra

  • Need confirmation on the dynamical data mapping to the components..

    Hi All,
    I would like to map the data dynamically to the combo box componet.
    Explanation:
    I have created a webi report and imported that report to xcelsius, current the data is only for 50 rows and it may increase or decrease as per the selections.
    I would like to map the exact data which is written to the excel to my combo box source data property.could you please let me know whether the source data mapping can be done dynamically ( what ever the rows data are there only those row need to be mapped to the source data) ?
    Cheers,
    Venkat

    Venkat,
    The range is always fixed for any component but the display is dynamic(say for a combo box ). The component will behave as if it is increasing or decresing the range at run time by ignoring the blank cells.
    When u said the option to change the data mapping, is it related to changing the range or did u want xcelsius to consider new data from else where in excel dynamically ..depending on conditions  ?
    Thanks,
    Karthik

  • CT5760 - virtual-host in parameter-map not used in webauth redirect

    Hi all.
    I'll try posting my issue here before I post a TAC on this:
    Cisco CT5760 wireless controller running IOS-XE version 3.6.0.
    This issue is related to web authentication on an SSID with external web portal. It seems that the statement "virtual-host" in "parameter-map type webauth global" is not used as intended. I'll try to explain:
    When a user connects to an SSID with external web authentication enabled and the user opens a web browser, the user will get redirected to the external web portal for authentication. In this redirect URL we see the parameter "switch_url=http://1.2.3.4/login.html". The IP address 1.2.3.4 is, in this example, our virtual IP. But we have also configured "virtual-host" to be webauth.example.com. And in my opinion the "switch_url" parameter should be "switch_url=http://webauth.example.com/login.html". This is how it works on our old Cisco WiSM1 implementation.
    The reason why this is a problem is that the clients web browser will not accept the certificate installed on "http://1.2.3.4" because it is not issued with that IP address, only the hostname webauth.example.com. I know that it is possible to get certificates issued with an IP address (as long as it's not an RFC1918 IP address), but rumors say that many Certificate Authorities will stop issuing these soon, even with "real IPs". Therefore it is important that the redirect URL gets corrected.
    Does anyone disagree with me that this is a bug?

    Hi and thank you for your response.
    I feel that I need to clarify a few things. Here is my parameter-map config (a bit edited):
    parameter-map type webauth global
    virtual-ip ipv4 1.1.1.1 virtual-host webauth.example.com
    intercept-https-enable
    parameter-map type webauth webauth_external
    type webauth
    redirect for-login https://webauth-external.example.com/v2/login.html
    redirect portal ipv4 x.x.x.x
    So the problem here is that a web browser of the client gets the following redirect URL:
    https://webauth-external.example.com/v2/login.html?switch_url=https://1.1.1.1/login.html&redirect=http://www.cnn.com
    Then after a successful login on the external portal, the user gets redirected back to https://1.1.1.1/login.html. Here is the core of my problem. I think that the parameter "switch_url" should be with the name webauth.example.com since I configured it as the "virtual-host". This is the behavior we see with our old Cisco WiSM1.
    When the redirect goes to https://1.1.1.1/login.html the client complains about the certificate, because it is not issued to that IP address but to the hostname.
    I can verify that the client does not complain about this if I manually edit the redirect URL on the client to the following:
    https://webauth-external.example.com/v2/login.html?switch_url=https://webauth.example.com/login.html&redirect=http://www.cnn.com
    Then the redirect after authentication goes to https://webauth.example.com/login.html and the client accepts the certificate and everything is peachy.
    Do you see my problem? And yes, the virtual IP resolves to the name in DNS.

Maybe you are looking for

  • 11i install on SuSe Linux 7.3

    Has anybody tried that? Is it working ? I know on Suse site the support matrix is showing SuSe 7.0 is supported. But I want to try Suse7.3. Any clue or tricks welcome. Thank in advance. Bhupendra B Babu

  • Cound not find any entry in table EDP12 for a partner provided in IDOC data

    Hi All, I have an inbound IDOC for a purchase order. If a put a query to the table EDP12 for the partner  or message type (ORDERS) provided in the IDOC data, I do not get any entry for this. Could you please enlighten me on this... Thanks, Sanjeet

  • Why does my screen show itunes and usb plug

    Why does my iphone screen show itunes and a usb plug?

  • Insert Year in F4 help

    Hi Guys, I have a requirement to add only year(Like 2000,2001,2002..) to one of the field. Whenever user clicks on F4, the Year list should populate and the mentioned year is entered in the field. Is there any way to achieve this? Cheers:)

  • White Balance Why ?

    Hello All, I am by professional standards a beginner videographer of about 5 years experience. I have seen lots of advice around saying set your white balance for this or that lighting. I film a lot of theatre shows with lots of vivid colour, when I