Create list item in parent site when list item is created in child site?

SharePoint online - Can I create a list item in a parent site when a new list item is created in child site? Possible with workflows?

Hi Shafaqat,
From your description, my understanding is that you want to create a list item in the parent site when a new item is created in the subsite via workflow.
Per my knowledge, there is no OOTB workflow action to achieve your requirement. I suggest you develop your own workflow activity to do it, or you can try to find a third party workflow solution to do it.
Here is an article about how to create a custom workflow activity, you can take a look at:
http://www.sharepoint-reference.com/Blog/Lists/Posts/Post.aspx?ID=37
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • List workflow with "Start workflow when an item is changed" will run twice when creating a new wiki page

    I have created the following workflow on the wiki page library to run when an item is changed:-
    And it will send emails as follow:-
    Currently when a user creates a new wiki page and he enters the wiki page name.
    Then he enters the content and click on save.
    Then two duplicate emails from the workflow will be sent ? So can anyone advice why creating a new wiki page will fire the workflow twice ?
    Thanks

    Hi john
    Have you see the library where the wiki pages are stored. You can see how many occurrences of the workflow has been run.
    Anyway, instead of using "wait for", can we put a condition that says, if Assign To:Approver is not empty. then email. 
    i use if instead of wait and it worked well, thanks

  • How do I list items alphabetically in Finder when arranging items by Kind?

    I like the new look for the "arrange by Kind" option for Lion's Finder, except that when things are arranged by Kind, they're not listed alphabetically anymore. In fact, the way items are listed in each Kind category (Folders, PDF documents, etc.) doesn't seem to make any sense. For example, I have folders, PDFs, and Pages documents in my Documents folder. When I choose to "arrange by Kind" I get three separate lists for those three Kinds of items, but the arrangement of the items in those lists is completely random. The list of Folders isn't arranged by size, name, date opened, or anything in particular. Just Kind. So "arrange by Kind" is helpful in one way, but confusing in another.
    Any fix to this? It's a minor annoyance, but still something that shouldn't be.

    Press CMD J  This will bring up view options.  The options of Arrange by and Sort by are available.  Select Sort by name or other criteria.
    Regards,
    Captfred

  • Second list depending on first on when-list-changed

    Hello!
    I'm having some trouble with 2 poplists. First poplist (:bloc_portar.lista) is generated ok. Second poplist (:bloc_portar.cnp) depends on the values of the first like this:
    DECLARE
         nume_lista1 varchar2(60) := replace(:bloc_portar.lista, ' ', NULL);
         nume_lista2 varchar2(60);
         rg_query_cnp varchar2(1000) := 'SELECT b.id, b.id FROM vizitatori2 b
         WHERE b.nume=nume_lista2';
         rg_id_cnp recordgroup;
         rg_id2 recordgroup;
         err_cnp NUMBER:= 0;
    BEGIN
    nume_lista2 := substr(nume_lista1, 1, 7);
    message('---' || nume_lista2 || '---');
         rg_id2 := Find_Group ('rg2');
         if not ID_NULL(rg_id2) then
         delete_group(rg_id2);
         end if;
         rg_id_cnp := create_group_from_query('rg2',rg_query_cnp);
         err_cnp := populate_group(rg_id_cnp);
         clear_list('bloc_portar.cnp');
         populate_list('bloc_portar.cnp',rg_id_cnp);
    END;
    nume_lista1 fetches the data selected from the first poplist and nume_lista2 takes the first 7 letters of that string to pass it in the query which should make the group/populate the second list. This code is more of a test and not a final code thats why i used those string functions (and also because the values in first list are concatenated (name+surname).
    I used a message to make sure the value in nume_lista2 is the one that i want for the query to work.
    The problem : its in here 'SELECT b.id, b.id FROM vizitatori2 b WHERE b.nume=nume_lista2';
    I've found out that when i pass the WHERE condition "manually" like this 'SELECT b.id, b.id FROM vizitatori2 b WHERE b.nume=''James'' ';
    the second poplist is populated just fine with the right values. But when i try to make it use the variable nume_lista2 in the condition it says that rg2 (aka the group for the second poplist) "Cannot create Group rg2".
    Hope you can help me,
    Iulian

    But can u enlighten me on a couple of issues pls?Sure :)
    >
    1. How come it doesn't recognise the variable in the query when i make the definition in DECLARE? Shouldn't it be analyzed only later in the main program when i actually use the query ? How does this work?You can do that in declare part too :). I am usually convenient to have a query built just before using it.
    2. Why tripple quotes and concatenate operators ? Is this how variables are passed to queries? I believe i used them before without any extra bording or anything.varchar2 variables are not passed with quotes by default. So, if you do not use the quotes, the resultant query would be something like
    SELECT b.id, b.id FROM vizitatori2 b WHERE b.nume=Jameswhich is not what we expect. So, surround the variable with the quote, which would turn the query to
    SELECT b.id, b.id FROM vizitatori2 b WHERE b.nume='James'HTH.
    -Arun

  • How to set item via URL only when that item is null

    From application A, I am attempting to set an application-level item of Application B via the URL to Application B. I only want the application-level item of Application B to be set when it the item is null. If it is not null, I don't want the application-level item to be set to something else.
    I can't think of a way to do this from within Application B after the URL takes the user to Application B and I can't think of a way to do it from within Application A before the URL is invoked. The URL in Application A is part of a List (Shared Component) so it is not clear to me how to use PL/SQL to dynamically tell the URL to include or not include the assignment of the application-level item in the URL call.
    Am I missing something obvious?

    You could pass the value into a different item in application B. A before-header page process in the target page could then perform the transfer of the sent item into another item if that other item is null.
    Scott

  • I have two lists. The first is "Tasks", second is "Journal". I need a "Create Journal Entry" link in the Tasks list. How do I do that?

    Let's say I have a Task named "Build SSIS for Duke Energy" and it has another column called Active. Now every day I look at my task list and If I worked on that task I want to create a Journal entry of what I have done. So from the Task
    list I'd like a third column that calls the "Journal Entry" list's new form page and pass it in the ID of the task. I have found several TextToHtml scripts out there, but they have to be stored in a script library, and then sourced to a content
    editor web part. The problem is they don't fire when I have my list grouped. In addition to, every time someone creates a new view, I have to go in and add the Content Editor web part, point to the script....
    Any thoughts. It is the grouped view that really bug me.

    Hi,
    If you only want to add a hyperlink to create a Journal entry in the task list, I recommend to add a Hyperlink column in the task list and then create workflow to update the column.
    You can follow the steps as below:
    Open the task list, add a hyperlink column named Create Journal Entry.
    Create a workflow associated to the task list, start the workflow automatically when an item is created.
    Add actions as below:
    Then when a task is created in the task list, the workflow will be stared automatically to update the “Create Journal Entry” column.
    Thanks,
    Jason             
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • When-validate-item fires at the wrong time?

    Hi,
    I have a custom form that contains a header block and line block. Once I enter the header info, then I enter the first line that contains transaction num and amount fields. Then I hit down-arrow to go to enter the second line, at this point when-validate-item triggers for all the line fields fire again (these triggers already fired one at a time when i navigated through the line).
    Supposedly ONLY when-create-record, when-new-record-instance and when-new-item should fire when I just move to a new line, any ideas?
    Thanks! Mike.

    Thanks for all the inputs. The user can either use txn number or BOL number to populate the line info and I have LOV (list of values) for both numbers. The problem turned out is that each LOV updates the other value (e.g. the txn number's LOV returns the txn number AND the BOL number). This in turn changed the value of a validated item and that causes when-validate-item to fire when I just tried to leave the record.
    The solution is to set IS_ITEM_VALID property for Txn Number to TRUE after BOL number's LOV updates the Txn number's value. This tells the system there is no need to revalidate the value.

  • FRM-41106 You cannot create records without a parent record.

    Hello!
    Forms 6i.
    I have a Parent-Detail-Relationship. At the Detail-Block a "When-create-record" sets some default values on the Detail-Block.
    I got error "FRM-41106 You cannot create records without a parent record" when the Parent-Block executes a execute_query.
    I debuged the problem an found out, that the error appears in the standard-programunit "Clear_All_Master_Details".
    The error appears, when the code is deleting the detail-block "code: Clear_Block(NO_VALIDATE)".
    This is strange: The error appears only when I uses the "When-create-record"-trigger on the detail-block.
    If a comment out the trigger, no error appears.
    Why Is a "When-create-record"-trigger initiated when deleting the detail-block?
    Default-Code of "Clear_All_Master_Details":
    -- Clear all the detail blocks for this master without
    -- any further asking to commit.
    currel := Get_Block_Property(trigblk, FIRST_MASTER_RELATION);
    WHILE currel IS NOT NULL LOOP
    curdtl := Get_Relation_Property(currel, DETAIL_NAME);
    IF Get_Block_Property(curdtl, STATUS) <> 'NEW' THEN
    Go_Block(curdtl);
    Check_Package_Failure;
    Error appear here----> Clear_Block(NO_VALIDATE);
    IF :System.Block_Status <> 'NEW' THEN
    RAISE Form_Trigger_Failure;
    END IF;
    END IF;
    currel := Get_Relation_Property(currel, NEXT_MASTER_RELATION);
    END LOOP;
    Thx in advance,
    Wolfgang

    Wolfgang,
    To be honest, I've always done this kind of thing in the Pre-Inse rt or Pre-Upda te triggers. Why is it so important for the user to see the value of these field BEFORE the IN SERT or UPDAT E? Once the record is commited, they will see these values in your form. In my experience - users are typically satisfied with this approach. If your users are not OK with this approach, perhaps you could us a When-Validate-Record trigger instead of the When-Create-Record trigger.
    I think the When-Create-Record option would still work, but your code will need a little tweak. Give the following a try:
       IF ( NVL(:termin.best_nr,'MSTR') = NVL(:pos.best_nr,'DTL')
            AND NVL(:termin.best_jj,'MSTR') = NVL(:pos.best_jj,'DTL')
            AND NVL(:termin.best_pos,'MSTR') = NVL(:pos.best_pos,'DTL') ) THEN
           <<...set_values..>>
       END IF;Remember, NULL values do not always get evaluated correctly so it is always best to use the NVL function to ensure fields are evaluated correctly.
    BTW, you indicated that you ran DEBUG on your trigger, when your IF statement was evaluated did the "set_Values" section of your code run? If it didn't - do you have other code in your WCR trigger that is setting values outside of your IF statement?
    Craig...

  • Workarounds for clear_form in when-validate-item  trigger

    Hi,
    I'm using forms6i
    I want to call clear_form in when-validate-item trigger.
    Since they are restricted procedures, i cant do that.
    So what are the workarounds available?
    There are items which are in control block and also records of a datablock available in the form,
    I want to clear everything(control block items and datablock items)
    Thanks

    Divya wrote:
    Hi,
    I'm using forms6i
    I want to call clear_form in when-validate-item trigger.
    Since they are restricted procedures, i cant do that.
    So what are the workarounds available?
    There are items which are in control block and also records of a datablock available in the form,
    I want to clear everything(control block items and datablock items)
    ThanksYou want the clear the form when you fire when-validate-item trigger
    inside the when-validate-item trigger after you commit
    COMMIT_FORM;
    if form_success then
    GO_ITEM(-------);
    clear_form(no_validate,full_rollback); EXECUTE_TRIGGER('WHEN-NEW-FORM-INSTANCE');

  • Return to item after when-validate-item raises form_trigger_failure

    sorry for this simple question but its been awhile since i've had to program forms...
    i am doing item validation in a when-validate-item trigger. the trigger raises form_tirgger_failure on item validation failure.
    is there an easy way to return focus to the item after the failure gets raised?
    any insight most appreciated.

    no, i'm hitting the 'save' button... so, focus is returning to the first item in the first block on the form.
    does the validation unit matter as well? when i enter out then the trigger doesn't fire so i am assuming that the validation unit for the form is not at the item level.

  • When- When Validate Item Fails

    Hi Friends,
    I am having a problem. I have written some code for an item and trigger is WHEN-VALIDATE-ITEM. I am also using RAISE Form_Trigger_Failure; Now when wrong data enters and exception is raised; EXIT Button does not work. Like if a wrong entry in item and user wanna exit the form. The exit button on the form does not work. User have to enter the correct value then the exit button works.
    I tried the following code in the EXIT button:
    EXIT_FORM(NO_VALIDATE);
    then i tried:
    CLEAR_FORM(NO_VALIDATE);
    EXIT_FORM(NO_VALIDATE);
    But still its not working, Any solution how to control this kind of situation???
    Pliz Help,
    Imran

    Set Mouse Navigate = No on the button.
    If Forms is going to navigate to the button, it must first make sure the field the cursor is in is valid, so setting the navigation property should help.

  • When-validate-item at form level do not fire

    Hi, I wrote a when-validate-item at form level to do same check in all items of a screen and note that this trigger do not fire when executing the form. does someone know why this form-level when-validate item do not fire. Are there some conditions i probably forgot to have? Thnaks very much.

    Hi, if you also have a validate-item trigger on the item itself, this may be overriding the form-level validate item.
    At the ITEM-LEVEL:
    if a when-validate-item trigger exists and the Execution Hierarchy property of the trigger is set to override then the item-level trigger will fire instead of any trigger by the same name at any higher scope.
    So make sure you do not have validate-item triggers at the item or block level that may be overriding the form-level when-validate-item.
    To see the properties of a trigger, highlight the trigger and press F4
    Hope this helps!

  • Alarm or notice when a Document is created

    I need to create an alarm ,message or notice when a document is created. Especially when a Good Receipt PO is created, I need an alarm or message to a specific user in SBO. Any help?

    Hi Hector
    I realise id that means
    SELECT Top 1 T0.DocNum, T0.CardCode, T0.CardName FROM OPDN T0 INNER JOIN OHEM T1 ON T0.OwnerCode = T1.empID WHERE T0.DocStatus ='o'  and T1.empiD ='1'  ORDER BY T0.DocNum Desc
    OHEM .empid is stored in Human resources modules >> considering the empID 1  is owner of the purchase order.
    By the way 
    What do you mean by sole document ? Can you explain what exactly(field)
    you want to see  in the alert ?
    Actually with the yellow arrow you can see the detail of the report  by drill down
    Thank you
    Bishal
    Edited by: BIshal Adhikari on Dec 17, 2008 5:27 PM
    Edited by: BIshal Adhikari on Dec 17, 2008 5:36 PM

  • Freight Unit Building rule isn't used when FWO is automatically created via PI

    a freight unit building rule is created and attached to the forwarding order configuration , When forwarding order is created manually , Freight unit building rule is picked up automatically , and freight units are created based on such definition.
    When Forwarding order is created via PI , the freight unit building rule isn't picked , I need it to be picked in all cases.

    Hello,
    You can check your condition /SCMTMS/FWO_TYPE and check, which  type FWO was generated by PI. If you have more than 1 type.
    Maybe you FUBR was assigned in FWO type 2 and PI creates FWO type 1 (Standard selection).
    Could you check this?
    Best regards,
    Vicente Picard

  • Stylesheet not rendering properly on child site

    I have a stylesheet in the Style Library of a parent publishing site.  A Master Page in a child site is using the stylesheet, but the styles are not rendered properly.  I copied the same stylesheet and used it in an ASP.NET web form Master Page
    and the styles rendered properly.  I then created a basic HTML page and used that stylesheet and it worked out fine.  Why won't it work in SharePoint 2013?  Is there a clash with the default styles and can I disable the default styles?
    Thanks,
    Mike

    Hi,
    To use an External Stylesheet, you can reference it as what the links below suggests:
    http://techtrainingnotes.blogspot.jp/2012/05/adding-javascript-and-css-to-sharepoint.html
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/Understanding-SharePoint-CSSLink-and-how-to-add-your-custom-CSS-in-SharePoint-2010.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • How to identify "front panel coordinates" of a marker on a 2d picture( google static Api map) in labview ?

    Hello I am working on a project which requires me to obtain the front panel coordinate of a marker placed on a 2d picture of a map. The map is being obtained by sending http request to google. I am using static google maps to obtain the map. Below is

  • Deployed mobile application not appearing in Mobile component

    Hi Experts I have downloaded the standard MAM (MAMLAPTOP3006_0-20001490.ZIP              SAP MOBILE ASSET MANAGEMENT 3.0 SR 06 (Laptop)      patch level - 0) From this I have a standard .war file which I am deploying in NWT server (10.191.97.208) I a

  • Template Drop Zone

    Let's say your adding data to a template. The template has two drop zones (square box with arrow). You have added the text in the appropriate text fields but you do not want to add any content (photo/video/whatever) to the drop zones. *However, the d

  • Expense reports with respect to posting date

    Hi Folks, Kindly let us know if any statndard reports are available to extract trip details with respect to the trip posting date (prrw). Thanks, Nandagopal C

  • Hide alv column of a standard tcode...

    Hello Experts, I was just given a task to hide a certain column in a standard tcode(LI14). So what I tried first was to just create a transaction variant but it did not work since the column that I need to hide is an alv list display. So I debugged t