How to set a custom column in a workflow task.

I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
with Content Type 2, starts and has the same column Age, as Task1.
How can I populate the Age column in Task2 with the content of the Age column in Task1?
Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
with the Content Type 2,  that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking. 
The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
Is there a better approach? I use SharePoint Designer 2013 to design all this.
Any assistance is appreciated.
Thank you.

Hello Sebastian,
you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
You can perform below steps to set Age column from Task 1 to Task 2.
1.  Create Task 1 using Assign a task , wait till the task is completed.
2. Get the Age column value based on Task 1 once the task is completed.
3.Create Task 2 using Assign a task ,  uncheck wait till the task is completed option.
4. Update the Task 2 with Age column in Task1.
5. Use Wait for the field to equal value , check for Task Status is completed or not.
>>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
you can get the related item from task list item to get the main list item.
Other option is, Use Javascript and CSOM  in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
Hope this helps.
My Blog-|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Similar Messages

  • HT201684 In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?

    In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?
    I've tried everything to get a custom umask set for all apps. It just seems impossible...
    Is there a replacement for launchd-user.conf?

    Please file a bug report:
    I am sure this is something that got lost, like environment variables, in the Yosemite/iOS merger.

  • How to set Tile count column or count row?

    How to set Tile count column or count row? If not can do, How
    to adjust count row or count column?
    Thx for all idea.

    The Tile container's number of columns and rows is calculated
    based on each child's width and height (or based on tileWidth and
    tileHeight which you can set). If you need more control over the
    layout, use Grid.

  • How to set up custom ring tone for a specific contact?

    If someone can guide me how to set up custom ring tone already downloaded from iTunes
    of a specifice  contact? Thanks.

    Tap contacts, select the contact, click edit,  go to ringtone, select ringtone

  • How to update a custom field in declarative workflow with VS 2013

    How to update a custom field in declarative workflow with VS 2013
    any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    Dear all,
    I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
    for creating PR via ME51N.
    I found an EXIT_SAPLEBND_001 and tried to implement it,
    but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
    thanks very much.

  • How to set a customized search results template for all users

    I know the customized search results views are stored in a file called pne_portal.hda that resides on every user's subfolder in data/users/profiles/...
    Is there a way to set a customized search results template for all users? If it's impossible, is there a way to modify the Headline view? I'm not able to find the resource or template where this view is.
    Thanks in advance.

    I wasn't able to understand what was meant by this post. Therefore, I modified the standard template HeadLine View.
    Columns for this template are defined in the include slim_search_result_table_header_setup (in std_page.htm).
    Here is the modification of the code:
    <$if customTemplateId and not (baseTemplateId like customTemplateId)$>
              <$columnsString = utGetValue("customlisttemplates/" & strLower(customTemplateId), "columns")$>          
              <!-- Modify START by Oracle-->
    <!-- here add default fields -->
    <!-- here add your custom fields -->
              <!-- Modify END by Oracle-->

  • How to set a customer type when submitting a form

    Hello! How do I set a customer's 'Customer Type' when they submit a form? In other words, I have a form on my website and if a user completes and submits that form, I would like that user to be given a specific Customer Type.

    You cant yet.
    Soon though.
    The output for these via liquid will be available in the release later today and hopefully the form aspects will be in the new future.

  • How to make a custom column unique in sharepoint?

    in sharepoint i created workflow, and in tasks lists i added 3 custom columns
    my requirement is in those 3 , 1 column should be unique, For example, i added columns, empId,name dept,
    in those empId should be unique, if any one who enter the same empId while creating, it won't accept,
    is it possible?
    any ideas, thanks in advance

    but i don't know why you are trying to map with Managed Property.
    to find a column unique or not what is the need to do above process?
    if you add custom column in a list, it should be in the lists, if it is not visible in the default view then
    follow this link.
    if you want the code, how to check the column is unique or not through events see here
    download the code and let me know if any issues.

  • How to set one custom SQL to blank

    I would like to manage the update of the objects of a given descriptor in the code of an "about to update" method (toplink event).
    At the same time I would like the default update statement does not occur any more. I was thinking about setting the update sql query in my descriptor, using workbench (custom sql section). But what should I write down here.
    Please advice,

    This is fairly advanced; you could do it a few different ways:
    1 - Set the custom update SQL to some no-op operation, i.e. "Delete from Dual where 1 = 2".
    2 - Use a redirect UpdateObjectQuery for the descriptor's update operation.
    3 - Use a custom query subclass for the descriptor's update operation.
    i.e. something similar to,
    descriptor.getQueryManager().setUpdateQuery(new UpdateObjectQuery() {
    public void executeCommit() {
    // custom update code here.
    public void executeCommitWithChangeSet() {
    4 - Use a custom call on a descriptor's update operation.
    What are you doing instead of the update?

  • How can i make custom column added to inbox sortable

    I had a requirement to add custom column to workflow inbox, i was able to achieve this without much difficulty.
    But i have noticed this custom column is not sortable, against the OOTB columns.
    Not sure what i am missing, Thanks in Advance
    in the json, i dont see any different between OOTB column values and custom column values
    startTime: 1359678539512,
    lifestage: "Approve",
    duedate: 1368769500000,
    Environment CQ 5.5

    Hi efish,
              I followed steps specified at below post. The column is sortable.

  • Blank screen on load - how to set a custom thumbnail

    I work at an academic library where we create a lot of tutorials, which we put on our website and on YouTube and Vimeo. With previous versions of Captivate (before Captivate 6), before you hit play, you would see the initial slide. Now, the screen is just blank until you hit play. On YouTube and Vimeo you can set a custom thumbnail that shows before you hit play; is there a way to do this within Captivate (we're now on version 8).
    I'm not talking about the preloader image. I tried adding an image of the first slide as a preloader image, but it shows only while the video is loading, and once it's loaded, the screen goes blank again.

    Hi djraven911,
    Welcome to the HP Forums, I hope you enjoy your experience!
    I will be happy to help you; however I can't help but wonder, is this a prank?
    I noticed you posted on April 1st, coincidentally April Fools.
    In any case, HP does not have any printer's that support printing on toilet paper.
    As for your second inquiry, I would suggest the Officejet 8600, the XL cartridge will print approximately 2300 pages.
    It supports many media types, but not toilet paper.
    Hope this helps.
    Thank you for posting on the HP Forums. Have a nice day!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    I work on behalf of HP

  • How to set the "Name" Column in EM

    I am wondering how I can get the "Name" Column to be a set to a custom text of my choosing when it is set during runtime in my SOA composite.
    Here is a link to a pic of the field I am trying to set
    Edited by: 960635 on Nov 19, 2012 12:31 PM

    Are you referring to having a checkmark symbol, or an actual checkbox that the user can change its state. If it's the former, then that's done by making symbols visible and writing to the Item Symbols property. If it's the latter, then that's something you have to program yourself. You may want to take a look at this thread, which points to an example on LAVA. There is also this example. All found using a search...

  • How to add a custom column in a table?

    I have a requirement to add a custom field into the table of view InrLastHist of component ICCMP_BT_IRHIST. The data to be display in the column will be based on the standard category column.
    I was thinking of adding a value attribute into the current BTORDERCUSTHIST, and write its get method to display the custom data, BUT the add attribute wizard doesnt allow me to do so. There is a note saying "Value attribute: Attribute that is not contained in any BOL entities (not supported in this version)".
    So how do I do it? Pls advice.

    You need to find this bol in trx GENIL_MODEL_BROWSER, find the structure associeted and you have to create a field in this structure, after you create the attribute using this field that you created.
    Caíque Escaler

  • How to set Serial No column in a table

    Hi All,
          I want to create a SNo. column . With RFC i dint get this column and I have to create this additional column. Please someone help me with code.
    Edited by: Uday Kumar Kanike on Jan 13, 2012 12:02 PM

    Dear Uday,
    Create the custom context  node and attributes (for populating rfc column data). also you can create extra attribute for Serial No. when you populating data from rfc, add the number in serial no.
    I<NODE>Element ele = null;
    for(int i=0; i<wdContext.node<RFC OUTPUT NODE>().size(); i++)
          ele = wdContext.create <NODE>Element();
          ele.setSerialNo(i OR i+1);
          //for other attribute
          ele.set<XYZ>(wdContext.node<RFC OUTPUT NODE>().get<RFC OUTPUT NODE>ElementAt(i).get<XYZ>());
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • How to set "Maximum Lenght" column property for database block at RUNTIME?

    Hi folks,
    Is it possible to somehow set a "Maximum Length" property for database block column at runtime?
    I have a dynamic form, which maintains mostly "STATIC DATA" within all application which are stored in different static data tables (which have similar structure). But now, description column in some of those tables was extended (not in all at this stage). I would like to avoid truncating form error while reading data from those extended tables, so I would like to set an MAXIMUM SIZE to accurate value at the time when I'm specifying TABLE NAME for that database block.
    What property should I use to set it?
       -- before executing query in "MAIN_BLOCK" I always set QUERY_DATA_SOURCE_NAME to user defined value => STATIC DATA TABLE name
       -- here I would like to set also MAXIMUM LENGHT for particular column (based on some condition, etc.. correct value I can get from ALL_TAB_COLS dictionary
       SET_ITEM_PROPERTY('MAIN_BLOCK.DESCRIPTION', <<XXXXXXX>>, 300);What should I use instead of "<<XXXXXXX>>" if I want to overwrite MAIN_BLOCK.DESCRIPTION column's maximum length to 300?

    Hi Magoo, thanks for reply.
    Yes, but then user can get other errors while trying to set description with value longer than in database (for all not extended tables).
    Aby idea how to implement SET_CUSTOM_PROPERTY like mentioned here?
    Oracle Forms - "maximum length" property.

Maybe you are looking for

  • Inner Class Question

    My question pertains to the code at the bottom of this post. I don't understand why the compiler doesn't give an error for the line below. Why would it let you refer to something inside the class (in this case I'm referring to ClassWithInnerClass.MyI

  • Installation of Photoshop Elements 7 stops, then deinstalls before registration

    Hi Forum, I wanted to install my Adobe Photoshop Elements 7 again on my PC (Windows 8.1). It already worked on this PC, but it stopped working because a .dll was missing and it said it could be fixed with reinstalling the Program. But now, when I wan

  • OWB Trickle Feed Mode

    Just attempting to replicate some de-que functionality currently encoded in PL/SQL using Oracle Object Types as the transport mechanism for the AQ. Following David Allans blog reveals a few issues:

  • JTable causing ArrayIndexOutOfBounds exception

    I created the JTable like this int allRows = I calculate this before I create the below object int allCols = 5 which is constant Object colNames [ ] = {pkg1,pkg2,pkg3,pkg4,pkg5}; Object [ ][ ] obj= new Object[allRows][allCols]; then I start inserting

  • Activity Price Control using user status

    Dear Gurus, I need to control activity price i.e if the corresponding user status is active then the price of the activity cannot be changed. Please let me know which object type has to be assigned to status profile. Please help.. Thanks in advance.