Stat machine workflow task workflow status different values on different state activity(Approval level)

i have developed the State machine workflow in which i am using default workflow task
i have added one status dropdown and that is having approve or reject that i set using workflow task drop down values
now my requirement is that when my workflow goes to different approval i need to have different status values in dropdown
for example
on manager approval state activity i need to add additional status value forward to legal
but when it moved to next activity this task status field should show only approve and reject
in summary i need to have different status values for workflow task when it moved to different state activity(approval levels)
can we set these status field of task for state machine workflow programtically as well like for different approval level of task i need different status to be set for the dropdown of task status field
MCTS,ITIL

Hi Shahid Siddique,
I have seen a similar thread from you about this issue, create custom form for the seperate form is a considerable workaround, you can have a check whether it works.
http://social.technet.microsoft.com/Forums/en-US/9baa0c32-1cde-4c58-aa7c-3568ccf0cdc9/different-approval-level-of-task-i-need-different-status-to-be-set-for-the-dropdown-of-task-status?forum=sharepointdevelopmentprevious
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • State machine custom task workflow how to pass one task field value to the next task field

    i am using ItemMetadata.xml to pass value from list to custom task first value its passing the but second value is showing as null
    plus how to pass one custom task value to the next custom task
    i.e one supervisor approver comments submitted field i want to see on department manager approval custom task which is the next approver from supervisor
    ows_firstfield=""
    ows_SecondField=""
    the above ows fields are from list
    in this i am unable to retrive the second value in the task form this is my first query?
    second query is that how can we pass one task field value to next approver task field value?
    any idea
    MCTS,ITIL

    What type of workflow is this?  IS this Visual Studio or SharePOint designer or third party (K2, Nintex, etc...)?  YOu should be able to get ahold of the task that was edited via the correlation token, and then grab any value you want from that
    task (wether it be a custom field or a standard worfklow task field). 
    It would help to know what you are using to build the workflow.
    Thanks!

  • Workflow Task Release Status

    Hi All.
    A quick questions. What's the purpose of workflow task release status?
    What's the impact if keep in "Not Release"
    Cheers

    Okay,
    I admit, a bit short on the explanations.
    But (I'm not on an active SAP environment right now, so everything I say, could be wrong, sorry if that seems the case, if not, then I should worry about trying to have a life outside of SAP   )
    When you press F1 on the the release status it is said, that these things have only administrative purposes and do not change the normal behaviour of the system.
    Kind regards, Rob Dielemans

  • Customisation for PO Release (different Values for different Doc Types)

    Dear Experts,
    I need to configure for PO release procedure where in the Characteristics would be Plant (2 Plants), Doc Type (3 types - Standard PO, Imports PO & Capital PO) and Value (2 stage release: 0-100000 & >100000 INR for Std PO, 0-200000 & >200000 INR for Imports PO and 0-300000 & >300000 INR for Capital PO).
    Please let me know where I shoud define the different Values for different Docs for the Release procedure to work properly.
    Or let me know the entire procedure for achieving the same.
    Regards,
    MNP

    Hi MNP,
    You have to create different CLASSes in IMG with the possible combination of different characteristics,
    EX. CLASS EKKO11 - Plant A, Doc type- Std PO, Value- 0-100000 & >100000 INR
          CLASS EKKO22-  Plant A, Doc type- Import PO, Value-  0-200000 & >200000 INR
          CLASS EKKO33-  Plant A, Doc type- Capital PO, Value-  0-300000 & >300000 INR  and same for other plant
    then assign these classes to the respective Release group.
    regards,
    Pravin

  • Measuring different values with different intervals

    I have a program which is measuring temperatures every second (or how often I want it to) and writes this to a file. But now I want it to open a digital line to measure the current through a resistant and if the current is higher than a certain limit, the program should open another digital line. But I don't want it to open the digital line/measure the current so often because the resistant will get hot, so I want it to measure maybe every 15 minutes. How should I make the program measure these values in different intervals?
    I am really a beginner in labVIEW, and i have no clue how to do this. If someone could give me any advice, even if it's only about where i can look to find a solution, I would be very greatful.

    On your front panel, you can have two numerics: one is the interval between temperature reads, the other is the interval between digital reads. If intervals are on the order of seconds (not milliseconds) you're probably better off checking the interval using Get Date/Time in Seconds rather than using Wait (ms). Add shift registers to your loop to save the last time read (one shift register for last temp read, another for last digital read). Each time through the loop, check if the current time (from Get Date/Time in Seconds on the Time & Dialog palette) is more than the specified interval from the last time read. If it is, take the reading and save the current time as the last time read to the shift register. Use separate case structures for the temperature
    reading and the digital reading.
    See the attached LabView 6.1 example.
    Attachments:
    ReadAtDifferentIntervals.vi ‏35 KB

  • Settlement  inv. measure to Auc: different values in different depr. areas

    Hi!
    Due to IAS/IFRS principles we have to manage different Asset values for a Local Gaap and IAS depreciation areas. We know that is possible to use transaction types limited to each single area to post different values directly in AA.
    We'd like to know if there is a way to settle different values from investment measures to AuC's different areas; since in customizing is possible to define only one specific internal transaction type for settlement from investment measures to AuC. We cannot use Key capitalization, since we are not using different cost elements.
    We are also considering to use custom enhancement.
    Do you have any suggestions about it?
    Thanks in advance!
    Giovanna

    Hi,
    Could you please let me know if this is solved? If yes the approach you have taken to solve this. We have a similar kind of requirement.
    Thanks,
    Anuradha

  • Warehouse task in status "b" (waiting) will not be activated

    Dear experts,
    in the following situation i want to execute a stock removal and the following problem appears:
    When the warehouse task for stock removal will be created, the layout-oriented storage process control creates two warehouse tasks:
    The first warehouse task is MFS relevant and will be automatically confirmed by the resource (Telegramtraffic).
    The second warehouse task (not MFS relevant) stays in status "b" and can´t be activated. But it has to be confirmed manuelly by the user and because of status "b" it´s not possible for the user to confirm the warehouse task.
    Why will the second warehouse task not be activated? Do someone know any hints to clear this situation?
    Thanks in advance.
    Best regards,
    Rodrigo

    Hi,
    the configuration of the first storage type is:
    The second type is configurated:
    The third is:
    The first warehouse task is from AKL1 to EAR1 and it works.
    The second warehouse task is from EAR1 to EARE and here is the problem.
    Best regards,
    Rodrigo!

  • CALCLATED KF SHOWING DIFFERENT VALUES FOR DIFFERENT CURRENCY TYPES

    Hi Experts
    When I am executing the query( On a Multi provider) with the selection of Company code, controlling area, WBS ELEMENT, currency type I am seeing two different values (XXXX EUROS and YYYY EUROS)for a formula for total variable cost when i select two different currency types( CONTROLLING AREA AND GROUP CURRENCY)
    I have two currency types called CONTROLLING AREA CURRENCY and GROUP CURRENCY(BOTH IN EUROS).
    This WBS  element is not having any sales document.How can I see the exact value for this WBS element in the R3 side.
    Is there any possibility that the same dataelement TOTAL VARIABLE COST have different values when i execute with differnt currency types in the selection screen.
    In what approach can i proceed from R3 side  to the query to solve this issue. on the R3 side when i see in FB03 (settlement posting) for this WBS it is balanced. I am seeing only partial posting for this in the Query
    Could any one help me to solve this.
    Thanks in Advance
    Best regards

    Hi Rajesh,
    I guess the holiday which was configured in Holiday calendar (Holi) is not declared as Paid holiday in Public Holidays-Holiday Calendar.
    Goto SCAL - choose Public Holiday - change mode - look for the holiday (Holi) configured - change mode again - lookout for 'Public Holiday Class' and see whether ' 1 ' is maintained there, if not maintained, type 1 there and save it.
    PS (1 - Ordinary Public Holiday....i,e paid holiday).
    Now go to PT01 and generate WSR. This will sort out your issue.
    If the above is not working,
    I guess there are different PSA/ESG grouping for the employees and maybe their Holiday Calendar itself is different. check out whether the PSA and ESG grouping in Time Mgmt is same or different for those employees for whom the paid holiday is not getting generated and also check out the Holiday Calendar for these set of employees and try the above given solution there.
    Hope this helps.
    regards,
    Santhosh
    Edited by: Santhosh on Mar 31, 2009 11:34 AM

  • Assigning a single task to multiple users in a state machine/ sp d workflow

     hi,
    i have a requirement to implement a   workflow based soln.
    step1 : approver1 will select few documents , which is provide as a link , with other columns in a  gridview
    approver1  clicks on a  button send to doclib1 and its moved and inserted into doclib1 
    my workflow should start.
    step2 : a task is assigned to leadconsultant1 and a item/items is created in  the task list.
    leadconsultant1 will review  the document/documents and send back to approver1 if its ok.approver1 then send this info  to the requestor offline.
    step3 :  if leadconsultant1 is not reviewing the document , he can select few consultants [asue peoplpickwer control is avlble] and assign same document to multiple consultants.
    so here comes the complex part : in a visual studio statemachine workflow , how can i assign single task to multiple users also, when a user completes his task [ means reviews the document the workflow  will not be completed. and workflow will be completed
    ONLY WHEN  all the users selected by the leadconsultant1 completes their review].
    or is there  anyway in sp designer 2013, i can achieve the same scenario?
      help or pointers are highly appreciated!

    Hi Benjamin KNR,
    For this issue, in the first level approval, you can use custom task form to add a field for approvals to add the consultants to approve next.
    Then on this task changed event, get the consultants fields value from the task, set the value to a custom field in current item to record the consultants value.
    Go to next state, to create next approval task for consultants. Set the task AssignedTo to the fields that store the consultants value.
    On the event driven state, onTaskChanged event, check all task status, if all the tasks have been approved, then go to next state.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • TRANSLATE LOWER-CASE statement returns different values in different systems

    Hi Experts,
         I encountered the following problem while debugging the print program of an Adobe Form, which has the below-mentioned line of code:-
    TRANSLATE v_var1 TO LOWER CASE.
    The variable v_var1 is of type MSEHT whose basic type is CHAR with length 10.
    The incoming variable, v_var1 has the value 'ШT', which is the upper-case Russian equivalent of the Unit Of Measure - ST.
         In the Production system, after the execution of the statement, the value v_var1 changes to 'шт'. But in the Development and Testing systems, which also have the same code as the Production system, the value v_var1 changes to 'шt'. In all the three systems, I had logged in the same login language('E'). The same problem remains when I log-in in Russian('R'). The text gets reflected in the Adobe forms and there aren't any JavaScript/FormCalc conditions on the particular window to change the font/case. The user wants 'шт' to be displayed (as is being displayed now) in the Prod. But since I'm not able make the same appear in the testing system, they are not confident to transport the changes to the prod.
         In the help documentation of TRANSLATE, I found that the "text environment" is a factor that affects TRANSLATE statements and could be set by the statement
         SET LOCALE LANGUAGE lang.
         which will basically change the system language. There aren't any SET LOCALE LANGUAGE statements in the Print program. I can hard-code and display it but I would like to know alternate solutions. Is it because of any system-specific font/text setting?

    Hi David,
    perhaps the systems got different codepages. This may cause the different.
    Just another suggestion.
    Regards
    Florian

  • Replace different values in different cells

    Hi,
    I am new to LabVIEW and work with an instrument that gets it's settings from an Excel file. I need to change those settings in Excel with LabVIEW. The Excel file is formated in .xls (97-2003 version). The PC has Microsoft Office 2013 installed.
    I am using LabVIEW 2014 (64-bit).
    Task:
    I want to change the values in 3 different cells in an Excel spreadsheet and save the workbook (not SaveAs).
    The main vi is saved in the library in the zip file, it is called 'change 3 values in excel.vi'.
    The excel file is attached separately.
    I don't think it matters where those cells are in the Excel worksheet, the Excel memory seems to keep the cell selection of all cells in mind but replaces the value with the last one mentioned in the last sub vi.
    Problem:
    1) All cells change to the same value that I define in the third sub vi.
    2) Excel asks me for SaveAs and doesn't just save over the existing file.
    3) The Excel application doesn't close but I can't seem to figure out why.
    Please advice. Help on any of those issues is highly appreciated.
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    change the 3 cells.xls ‏26 KB
    change 3 values in excel.zip ‏103 KB

    Here is how I would do this.  I would use the Report Generation Toolkit (which is included in LabVIEW 2014).  This Example is a simplified version of your task -- you are given the name of an existing Excel Workbook to modify, the index of the Worksheet to use, the Excel Cell address (in Excel format, i.e. A1, for purposes of illustration), and the Cell Value that you want to insert there.
    The first function is New Report, which is a slight misnomer, as we are using it as "Replace Report" by wiring in the name of the existing Report, and specifying that we mean an Excel Report (it will open Excel -- if you don't want the Workbook to be visible, open it Minimized).  We next call Excel Get Worksheet (which isn't necessary if we are using the first Worksheet ...).  We use Excel Easy Table to put the Cell Value into the chosedn Excel Cell.  To do this, we first use Excel Get Excel Location to convert, say, B3, to row/column indices (B3 = 1, 2) and bundle this into a Cluster.  We also need to convert the Cell Value into a 2D Table which we do by passing it through two Build Array functions.  Next we Save Report to File using the original Excel Workbook path, and finally we Dispose Report to turn off Excel.
    If you had multiple cells you wanted to update, I would bundle Excel Cell and Cell Value into a cluster, build an array of clusters, then put the Excel Easy Table function into a For loop and do the updates one at a time.
    This should work extremely quickly -- the entire process should take a fraction of a second.
    Bob Schor

  • Workflow task in "In Process"

    Hi all,
    I have a workflow task that stayed in the "In Process" state.  The task's method calls a function.  I don't know if the function had an error or what actually happened.  The function makes a call to a third party software(PRISM).  I have the task set to synchronous to wait for a return code. Does anyone know of a way to trouble shoot this.

    Yes, if you can reproduce it by calling the same method with the same inputs from transaction SWO1 (testing the BOR object type - or SE24 if it is a class). Then the debugging should reveal most of the information you need.
    I assume you are making an RFC call. In your function call you should, if it has not been done already, set up the special exceptions for RFC calls which will enable you to receive a returned error message in case of e.g. communications failure.

  • How do you create array of enums for transitions in a state machine?

    Hello,
    I am trying to build a state machine, but, I am struggling with understanding the methods for determining which state to transition to next.  In other words, I have several states, but, I don't want to go in any particular sequence.  If I have states numbered 1 through 10, I want to be able to go 1-4-2-5-6-2-6-1-10 etc. in no particular order. I want the transition to the next state  (and actions) to be determined by the streaming data, which can be random and require access to any of my 10 states at any time and in any sequence.
    I saw this picture on the "Application Design Patterns: State Machines" white paper, but, it leaves out some important details.  How does one create the structure in BLUE shown in 3C?  When I try to create this array of enums, all of them are the same. I am not able to make a list of different enum values.  In other words, when I type in "2", then, all the values in the array display as "2."
    There is a nice, simple video example of a state machine for dispensing soda for $0.15, however, this state machine moves in a single sequence, from 5 cents, to 10 cents to dispense; it does NOT illustrate how to select a state "out of order."  I need to understand how a state machine can move from "5 cents" state to dispense directly, with the addition of 10 cents to the "5 cents" state.
    Can anyone suggest a really good tutorial on how to make the selector work in a state machine?  I have been reading some of the available material on ni.com, but, I can't find a good detailed explanation of how to do it.  I remain confused. 
    Or, can you just explain how they created the BLUE array in the attached picture?  Maybe I can figure it out from there.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    next state.jpg ‏75 KB

    Hi Kathryn,
    Yes, this is EXACTLY what I want to accomplish...
    So it would basically run:
    State 1
    Read input
    Determine next state (say 3)
    State 3
    Read input
    Determine next state
    State
    Read input
    Determine next state
    And so on...
    But, I am quite new to programming Labview state machines, and can't figure out how to even start when the sequence of states is random instead of fixed!!! I can do 1,2,3,4, like the vending machine VI example, but,  not 1,3,2,2,2,5,2,1 etc. based on external input.  Is there some simple example case I can study?  I can't believe I am inventing this for the first time.
    "select the state to run" 
    But, HOW do I do this???????   This is exactly the question I am asking...how is this done?  Please see the attached 3-state system....how do I hook this up????  I am totally lost here...can you help me understand how to wire this thing??  In this simpe RED/GREEN/BLUE case, my input is just the number a user would input on the front panel....  Apparently, there are two files necessary... a vi and .ctl???  What  is .ctl?
    Thanks,
    Dave
    Attachments:
    forum nov 12 red green blue.vi ‏7 KB
    forum nov 12 red green blue.ctl ‏5 KB

  • Making sequence structures a state machine

    Hey I would like some help I need to work on changing my code and get rid of the flat sequence structure and replace with a state machine I have attached my code at an earlier state but would like some input on changing it over to a state machine in the sequence at the bottom of the code this program is used to cycle a valve and the sequences need to be done in order .any input would be great.
    Attachments:
    valve Cycles with temp.vi ‏132 KB

    Right click on the Flat Sequence and pick Replace with Stacked Sequence  (never would have thought I'd say that.)
    Right click on the Stacked Sequence and Replace with Case Structure.
    Now a lot of wires will wind up broken.  So you'll need to hunt them down and fix them.  Those wires will probably need to go to shift registers so there values are maintained for the next loop iteration.  Keep a copy of your original VI so you have something to refer back to.
    Create a Typedef Enum and define what your states will be.
    Start wiring the Enum into a shift register at the left of the loop, then into the selector of the Case Structure.  Rename all the cases to what their respective state should be.
    Wire enum constants in each case to direct what the next case should be.  It will run out of the case structure to the right hand shift register.
    Keep working and cleaning still everything is fixed.
    Try running your VI to see if it behaves like it originally did.
    Now you are safe to start making modifications to make it behave like you really want it to.

  • Run Code Continuously in Event Driven State Machine

    Hi there, I was wondering what is the best way to run code continuously in an event driven state machine. Particularly, I am going off the JKI state machine. At the moment I put the code I want to run continuously (acquire from an instrument) in the timeout case of the event structure. When the user presses the button, the event sends the value 0 to the timeout terminal of the event structure (through a shift register). If the user stops the acquisition then the value -1 is sent to the timeout terminal. This is a tip that I took from an article by Mike Porter.
    Would it be better to run this process in a separate loop? Is a state machine a bad design choice for running code continuously? I don't like my current solution because if I have another process I'll have to start putting case structures into the timeout case. Also, if the process takes a while then the event structure will take a while to respond.
    Thanks for your input!

    AKA_TG wrote:
     Adding to that I believe Preview Queue element to read the data and Lossy  enqueue to transfer the I/O output, especially if the I/O device responds slowly. This should keep your event structure polling along very nicely during I/O calls to the other structure.
    I actually prefer to use an User Event to send the data to the main event structure and/or whoever else needs it.  I am not a fan of the lossy enqueue (loss of data).  At that point, I might as well just use a Notifier and/or global variable.

Maybe you are looking for