How do I create a workflow token based on a section property in site studio

I am trying to setup a workflow for a Site Studio site and I want to set the alias based on a custom property of the site studio site. Example...I have custom property called group and I want to use this to determine what which alias to use to send out workflow notification. I tried using the <$ssGetNodeProperty()$> function, but that does not seem to work. Is it possible to expose a custom property for the token code to use?
Thanks

Here is my crude example I was using just to see if it would work. When I check something in, it completely by-passes all workflow which leads me to believe that the ssGetNodeProperty function is causing an error. When I look into the log I get a Null Pointer Exception.
<$if strEquals(ssGetNodeProperty("Group"), "Marketing")$>
     <$wfAddUser("sysadmin", "user")$>
<$else$>
     <$wfAddUser("UEMA025", "user")$>
<$endif$>
I have also tried this if statement as well.
<$if strEquals(ssGetNodeProperty("15", "Group"), "Marketing")$>
     <$wfAddUser("sysadmin", "user")$>
<$else$>
     <$wfAddUser("UEMA025", "user")$>
<$endif$>
If I change the code to the following, both parts of the if statement work and the notification is sent.
<$if strEquals("Marketing", "Marketing")$>
     <$wfAddUser("sysadmin", "user")$>
<$else$>
     <$wfAddUser("UEMA025", "user")$>
<$endif$>
OR
<$if strEquals("PR", "Marketing")$>
     <$wfAddUser("sysadmin", "user")$>
<$else$>
     <$wfAddUser("UEMA025", "user")$>
<$endif$>
Thanks
Nate

Similar Messages

  • How do i create a workflow to delete tasks.

    I've created a workflow that will take the Title, Start Date, and End Date from one list (roomReserved) and then create a task on another list (centralCal) setup as a central calendar. When a yes/no checkbox is checked, it will then create the task on the
    centralCal. The problem I'm having right now is i am unable to remove or delete the task created in centralCal when the checkbox is unchecked.
    I way I'm trying to delete the task in the workflow is:
    if current item:checkbox equals no
    then delete item in centralCal
    in the "Choose List Item" popup menu
    I choose List:centralCal
    Find the List Item:
    Field: Title
    Value:
    Lookup for Single line of text (popup)
    Data source: Current Item
    Field from source: Title
    Return field as: string (greyed out)
    To make sure the correct item is deleted I'm comparing the titles from the roomReserved and centralCal.
    What I want the workflow to do is delete the task from centralCal if the checkbox is unchecked from roomReserved. Any idea's on how to change my workflow to fix this would be greatly appreciated.

    Hi James,
    I tried reproducing the issue in my environment. I created a list1 with two column: title and checkbox, a list2 with one column: title.
    I created two workflows in SharePoint Designer: workflow1, if current item checkbox field equals yes, create item in list2, title= current item title. Workflow1 start automatically when an item is created.
    Workflow2: if current item checkbox field equals no, delete item in list2. Choose List Item is set as below, and workflow2 starts automatically when item is changed.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How can i create a dynamic structure based on my input from a select-option

    Hello,
    This is to develop a custom report in FI for G/L Balance based on company code.
    I have an input select-option for Company code.
    Based on the range of company code my output layout should be modified.
    I am not very much sure to create a dynamic internal based on the input from a select-option.
    Can any one please let me know how can i do this.
    I would appreciate for anyone who turns up quickly.
    Thank you,
    With regs,
    Anitha Joss.

    See the following program, it builds a dynamic internal table based on the company codes from the select option. 
    report zrich_0001 .
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>.
    data: alv_fldcat type slis_t_fieldcat_alv,
          it_fldcat type lvc_t_fcat.
    data: it001 type table of t001 with header line.
    selection-screen begin of block b1 with frame title text-001.
    select-options: s_bukrs for it001-bukrs.
    selection-screen end of block b1.
    start-of-selection.
      select * into table it001 from t001
                     where bukrs in s_bukrs.
      perform build_dyn_itab.
    *  Build_dyn_itab
    form build_dyn_itab.
      data: index(3) type c.
      data: new_table type ref to data,
            new_line  type ref to data,
            wa_it_fldcat type lvc_s_fcat.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname = 'PERIOD' .
      wa_it_fldcat-datatype = 'CHAR'.
      wa_it_fldcat-intlen = 6.
      append wa_it_fldcat to it_fldcat .
      loop at it001.
        clear wa_it_fldcat.
        wa_it_fldcat-fieldname = it001-bukrs .
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 4.
        append wa_it_fldcat to it_fldcat .
      endloop.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = it_fldcat
                   importing
                      ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
    endform.
    Regards,
    Rich Heilman

  • HT2488 How do I create a workflow in Automator or a script in AppleScripts to download an excel file from a specific webpage?

    I would like to create a workflow in Automator or a script in AppleScript (or a combination of the two), that opens Safari to a specified page and downloads an excel file from this page and saves the downloaded document to my desktop.
    Is this something that be done? If so, how?
    I have so far been able to build a workflow in Automator to open Safari and added an AppleScript that takes Safari to a specific page that has an Excel document.
    I can't figure out where to go from here... Any help would be apprecitated.
    Thanks!

    Would you have the web address the excel sheet is on?
    Is there a simular web page you could point to if not?
    Would there be a copy of the file on an FTP page.  This would be easier. 
    curl
    http://www.cyberciti.biz/faq/mac-os-x-terminal-download-file/
    http://www.thegeekstuff.com/2012/04/curl-examples/
    http://curl.haxx.se/docs/manpage.html
    Macintosh-HD -> Applications -> Utilities -> Terminal
    # Press return to run a command.
    the curl is a terminal command ( Unix ).  It allows you to read a file off of the web.
    man curl
    provides cryptic information on the commnad curl.
    press the space bar to advance  a page.
    press letter to q to quit.
    What you may have to is to read in the web page as a text file.  Go "fishing" through the page to find the excel file you need.  Once you find the file, you can use curl to read the file.
    curl is a very full featured command.  (read complex to figure out ).
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set desktopPath to (path to desktop) as string
        log "desktopPath = " & desktopPath
        set unixDesktopPath to POSIX path of desktopPath
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "ls -l  " & quotedUnixDesktopPath
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run

  • How do I create a workflow to close open programs and then turn off?

    I want to create a workflow where any open programs will be closed and then my Mac will turn itself off. How do I do this?
    Cheers.

    I don't use Automator, but the following Applescript will do it:
    set excludedones to {"loginwindow", "Dock", "SystemUIServer", "MirrorAgent", "UniversalAccess", "iCalAlarmScheduler", "System Events"}
    tell application "Finder"
    set quitlist to the name of every application process whose file type is "APPL"
    end tell
    repeat with i from 1 to count of quitlist
    set aProcess to item i of quitlist
    if aProcess is not in excludedones then
    try
    tell application aProcess to quit
    end try
    end if
    end repeat
    tell application "Finder"
    shut down
    end tell
    Actually the last three lines by themselves would probably do it. Of course if any of the applications have open unsaved documents then you will get the usual dialog about do you want to save them.

  • How do I create individual URL for the pages within an Adobe Muse site?

    Could someone tell me how I can create separate URL addresses for each page within a site? I think it's in Page Properties, but I can't figure out how to do it.

    Your website is actually hosted at http://kcronaphotography.free.fr
    If you visit that URL, clicking on the other pages will change the URL displayed in the browser.
    Your individual pages are available at URLs like: http://kcronaphotography.free.fr/about.html
    www.karincrona.com is just a wrapper page containing a frameset that hosts your real pages in frames.
    It appears that this page was generated by a tool called "ORT - Ovh Redirect Technology".
    Displaying the pages inside a frame will not change the URL displayed in the web browser.
    If you'd like your page to have nice URLs like www.karincrona.com/about.html, you'll need to get rid of the frame wrapper, and move the domain name to the webhost where your pages are being served.
    If you want to keep the wrapper page, you may want to investigate if the ORT tool you're using provides any way of getting a URL to an individual page to show in the browser bar.

  • How do I create a workflow in salesforce?

    I want to be able to send out specific Terms and Conditions for clients to sign based on the Opportunity Record Type and the Opportunity Stage in Salesforce. We want to be able to send out our documents on an automated basis, not by clicking a button. Is anyone aware of how to accomplish this? I am familiar with developing salesforce and its workflows, but it's not immediately apparent on how to set this up.
    Thanks.

    When you create a new agreement, it creates a new record. This means you need a trigger to automate this and cannot be done using a Salesforce workflow alone.
    The trigger can make use of the  global class AgreementTemplateService in your trigger to create an agreement of a template.
       This uses a templateID along with the master object (eg Opportunity) ID as parameters

  • How do I create a dynamic parameter based on a formula?

    Hi,
    I've developed a report, in CR 11, that is parameterized based on the field "ticket_date".  I've created a Min and a Max formula so that I can select a date range. This works wonderfully. However, my date list is growing longer by the day and each day I have to run the report I need to scroll through an even longer list of date values. This will become increasingly impractical with each passing month and year.  I would like create a "Year" paramater and a "Month" parameter so that I can first select the Year, then the month(s), then the dates.
    When I attempted to create a parameter based on the formula, "Year (), the formula wasn't in the list of available values to create a parameter on.
    How can I address this requirement?
    thanks in advance!
    Mark

    Hi Abhilash,
    Looks like I was able to create a Year field in the Command - thanks for the tip!
    Before I close this off as answered can you take a look at two sets of SQL I wrote in the Command that I'm getting errors on and offer advice on where the error is occurring.
    Example 1
    The SQL I attempted to write must be close though:
    Select ft.sequence, ft.ticket_date, coff.office_name, comp.subscriptions_id from
    field_tickets as ft, company_offices as coff, companies as comp
    INNER JOIN jobs ON comp.companies_id=jobs.companies_id
    INNER JOIN field_tickets ON jobs.jobs_id=field_tickets.jobs_id
    LEFT JOIN company_offices ON jobs.company_offices_id=company_offices.company_offices_id
    Where comp.subscriptions_id=7.00
    When I attempt to save this I get an error:
    "Failed to retrieve data from the database. Details: Exception: Error Message: Java Heap Space"
    Example 2
    I get the error, "Not unique table/alias: 'custom_jobs_values'" for the following SQL Command
    SELECT companies., jobs., field_tickets., regions., customers., custom_jobs_values. FROM
    companies, jobs, field_tickets, regions, customers, custom_jobs_values
    LEFT JOIN custom_jobs_values ON jobs.jobs_id=custom_jobs_values.jobs_id
    INNER JOIN regions ON companies.regions_id=regions.regions_id
    INNER JOIN jobs ON companies.companies_id=jobs.companies_id
    INNER JOIN field_tickets ON jobs.jobs_id=field_tickets.jobs_id
    INNER JOIN customers ON jobs.customers_id=customers.customers_id and
    companies.subscriptions_id=4.00
    thanks!
    Mark

  • How can I create UI components dynamically based on the result of WebService/HttpService call?

    I would like to create child components of the component
    based on a XML which is retrieved by WebService/HttpService call.
    createChildren() is the one to be used to create components
    dynamically. But if I use createChildren() and call a
    WS/HttpService request in createChildren method, I can not get the
    result of WS/HttpService request in createChildren().
    It seems that the result event is processed later after
    createChildren() is completed.
    How can I implement my requirement?
    I would appreciate any pointer or suggestion.
    Best regards
    Masa

    1) Use a List, with a custom itemRenderer
    2) Use a Repeater (Probably easiest)
    3) use Actionscript to addChild() components.
    Tracy

  • How can I create a materialized view based on hierarchical cube query?

    Hi,
    database version 10gR2.
    When i try to create MV for sql below, i got error .
    I tried creating MV log in several ways, but still, keep getting the same error.
    SQL Error: ORA-12015: cannot create a fast refresh materialized view from a complex query
    12015. 00000 -  "cannot create a fast refresh materialized view from a complex query"
    *Cause:    Neither ROWIDs and nor primary key constraints are supported for
               complex queries.
    *Action:   Reissue the command with the REFRESH FORCE or REFRESH COMPLETE
               option or create a simple materialized view.So, I wonder if it is possible to create MV based on sql below?
    if yes, how should I do it?
    if no, what is the alternative?
    select
          coalesce(UP_ORG_ID_6, UP_ORG_ID_5, UP_ORG_ID_4, UP_ORG_ID_3, UP_ORG_ID_2, UP_ORG_ID_1) as ORG_ID,
          a.day_id as day_id,     
          a.TRADE_TYPE_ID as TRADE_TYPE_ID,
          a.CUST_ID,
          coalesce(UP_CODE_6, UP_CODE_5, UP_CODE_4, UP_CODE_3, UP_CODE_2, UP_CODE_1) as product_id,
          QUANTITY_UNIT,
          COST_UNIT,
          A.SOURCE_ID as SOURCE_ID,
          SUM(CONTRACT_AMOUNT) as CONTRACT_AMOUNT,
          SUM(CONTRACT_COST) as CONTRACT_COST,
          SUM(SALE_AMOUNT) as SALE_AMOUNT,
          SUM(SALE_COST) as SALE_COST,
          SUM(ACTUAL_AMOUNT) as ACTUAL_AMOUNT,
          SUM(ACTUAL_COST) as ACTUAL_COST,
          SUM(TRADE_COUNT) as TRADE_COUNT     
    from DM_F_LO_SALE_DAY a, DM_D_ALL_ORG_FLAT B, DM_D_ALL_PROD_FLAT D
    where a.ORG_ID=B.ORG_ID
          and a.PRODUCT_ID=D.CODE
          and a.day_id=20110201
    group by rollup(UP_ORG_ID_1, UP_ORG_ID_2, UP_ORG_ID_3, UP_ORG_ID_4, UP_ORG_ID_5, UP_ORG_ID_6),
          a.TRADE_TYPE_ID,
             a.day_id,
          A.CUST_ID,
          rollup(UP_CODE_1, UP_CODE_2, UP_CODE_3, UP_CODE_4, UP_CODE_5, UP_CODE_6),
          a.QUANTITY_UNIT,
          a.COST_UNIT,
          a.SOURCE_ID;Thanks in advance.

    Rob vanWjik has an excellent series of fast refresh materialized views starting here:
    http://rwijk.blogspot.com/2009/05/fast-refreshable-materialized-view.html
    Part three specifically on aggregate MVs is here:
    http://rwijk.blogspot.com/2009/06/fast-refreshable-materialized-view.html

  • How can I create a responsive website based in Adobe Muse?

    I already created a website with Adobe Muse but I just find out that it doesn't support Responsive Websites. What can I do now? Is there a way to make my website responsive or do I have to redesign it?

    Hi there! I`d recommend you to try create website from a ready-made template rather than from very start-up. It`s much easier. I like website templates based upon Joomla http://www.templatemonster.com/joomla-templates.php . Feel free to address it and convience yourself it`s as simple as rolling off a log. Good luck!

  • How do a create a workflow to highlight word documents?

    I have 100's of pages of word documents within a single folder all with part of them underlined as demonstrated. I need a way to avoid manually highlighting just the underlined sections and figured the automator is the best option to accomplish this. I dont know how to accomplish this though. Any instructions or suggestions would be greatly appreciated. Thanks

    I don't use Automator, but the following Applescript will do it:
    set excludedones to {"loginwindow", "Dock", "SystemUIServer", "MirrorAgent", "UniversalAccess", "iCalAlarmScheduler", "System Events"}
    tell application "Finder"
    set quitlist to the name of every application process whose file type is "APPL"
    end tell
    repeat with i from 1 to count of quitlist
    set aProcess to item i of quitlist
    if aProcess is not in excludedones then
    try
    tell application aProcess to quit
    end try
    end if
    end repeat
    tell application "Finder"
    shut down
    end tell
    Actually the last three lines by themselves would probably do it. Of course if any of the applications have open unsaved documents then you will get the usual dialog about do you want to save them.

  • How Can I Create a Function to Return to a Specific Menu on DVD Studio Pro?

    Hello, I am currently building a DVD for a TV series I created while in college, and I'm having trouble figuring out how to create a function within the DVD that lets the user select the title or menu buttons on their remotes and have that return them either to a) the main menu or b) the menu they were just at, ie episode select or chapter select. Any help is appreciated! Thanks!

    Thanks for the help. I'm still a little confused on how to get it select which menu that I would like to return to.

  • How do I create forms that people can complete in more than one sitting i.e. save and submit?

    Hi,
    I have just bought formscentral and need advice to achieve my objectives:
    Required:
    Customer can part fill form, save and complete later on and submit for us to capture the data.
    Customer can save or can access their completed form, as we need them to print it out, and physically sign a version for us for legal reasons
    Several different people within the customer's business need to fill out different areas of the form, so they may need to e-mail the form bwtween each other or each logon and complete their section.
    Are the above achievable? If so can I do as a web form or pdf? Are there any settings I need to apply to the form before or during creation? Are there only certain methods of distribution that will work?
    Other concerns:
    Our end customers are small traders that are not that computer literate and I worry that they won't have the latest adobe reader or the form won't be compatible with their Mac or firewalls etc and will struggle to be able to fill out, save and submit the forms for technical reasons. Are these concerns justified? If so, are there ways to minimise these issues?
    Any guidance is much appreciated. The package also mentions it includes one to one support from Adobe - how do I access this support?
    Thank you,
    Rob

    If a requirement is that the form be passed around to several users, I think that the PDF option is your only hope. It will indeed be a problem if users don't have Reader or some other forms-capable PDF viewer. You don't have to do anything special apart from enabling it with FormsCentral. This allows users with Reader versions prior to 11 to save the filled-in form. You'll just have to try to educate the users to use Reader (and NOT to use Preview on a Mac).

  • How do I create a new playlist when all four options are not available

    I'm running iTunes 11.1.5 under Mavericks 10.9.2. Because I have a very large music collection I keep it on an external drive. I have six recorded lectures I'd like to sync with my iPad. How do I create a new playlist based on the recordings on the external drive? All four New Playlist options are currently not selectable. I know it can be done because I've done it before years ago but have forgotten how.
    Yes, I too wish iTunes were more coherent and less convoluted.
    Appreciated.

    Hi Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo . Then go to music click on play list and try to make one. Cheers Brian

Maybe you are looking for

  • Course WUS581 - Technical Details of SAP CRM Web UI

    I had the opportunity to attend 'WUS581 - Technical Details of SAP CRM Web UI' last month in Atlanta.  I understand it to have been the first time the course was offered in the US.  The course was great - here's a link to the official [description|ht

  • Data load issue with export data source - BW 3.5

    Hi, We are facing issues in loading data with the help of export data source. We have created export data source of 0PCA_C01 cube. With the help of this export datasource,  we are loading data to other custom cube. Scenario is working fine in develop

  • Ship to party in Sale Order

    Hi all, In sale Order when we are manually changing the Ship to party, even though that SH is not maintained in the Customer Master Record, the system is allowing that SH and saving the sale order. The system is allowing all the SH in same sales area

  • Song wont download onto i pod

    ok i downloaded a song from the internet and now it plays on my computer with me having to go onto the internet but it still wont go on my i pod why not!???

  • How to overwite TCODE field value in BAPI_ACC_DOCUMENT_POST

    Hi All, My requirement is posting the billing document through z-program By suing the bapi BAPI_ACC_DOCUMENT_POST In this bapi from ECC6.0 onwards the TCODE field value is BAPI only But I want the TCODE field value as my z-tcode only How can I overwr