Workflow: State change on given date
Hi,
another problem: the state of a workflow shall change, when the start
time of an entry has reached. As there is no "on start time" but "after
start time", I tried "0 minutes" or "0 days" - but the change won't
happen. If I choose a start time in the past, the state is changed fine.
Greetings
Andreas
OK; forget about this. Those who are able to read are always in
advantage. I used a user with a wrong timezone! Where is the ton of
ashes to be thrown over my head? :D
On 07.06.2010 15:53, Andreas Ollenburg wrote:
> Hi,
>
> another problem: the state of a workflow shall change, when the start
> time of an entry has reached. As there is no "on start time" but "after
> start time", I tried "0 minutes" or "0 days" - but the change won't
> happen. If I choose a start time in the past, the state is changed fine.
>
> Greetings
> Andreas
Similar Messages
-
Can i change table in query as per user given data
hi master
sir,
can i change table in query as per user given data
see
select * from @variable
i need use in lov
please give me idea
thankingyou
AamirYou cant directly use in sql instead you can write an anonymous block and frame the query as per the input table name and then use execute immediate to execute the query.
Something like this
declare
qry_table varchar2(30);
qry_stmt varchar2(1000);
type typ_sample is table of VARCHAR2(100) index by binary_integer;
tab_sample typ_sample ;
begin
qry_table := &Table_name
qry_stmt := 'select a from '||qry_table;
execute immediate qry_stmt bulk collect into tab_sample ;
end;
Message was edited by:
Shasi -
I’m using Labview 2010 p1 and trying to figure out have to save data on a specific change in the data. I have a VI that I can;
Watch the data change real time
Save single shot or continuous data
Save if data goes over “x”
But what I now need is to save once when the data goes over, then watch till the data goes under “x”, and repeat. So instead of continuously saving data (a waste), only want to save data when the motor first starts and when the motor stops. So I will have just two segments of data instead of 100’s.
Does this make sense?
SKIPIf your program already saves data when a threshold is passed on the increase, then you have accomplished much of what you need. Have the state change set a boolean to indicate to the data save to save the data, then have the data save reset it, then have the state change below the threshold set it again to allow saving, ... The state change boolean can be in a Functional Global, a single element queue, or depending on the structure, held in a shift register around the threshold determining code.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
Last State Received / Last State Change Date is Incorrect
Checking a report today I noticed the Last State Received and Last State Change dates are off for many of our clients. The report I'm looking at is the
Compliance 8 - Computers in a specific compliance state for an update (secondary)
The StateMessage.log on our clients show successful submissions to the MP. Statesys.log on SCCM looks healthy as does MPControl.log. Has anyone run into this before?
Orange County District AttorneyHi,
If you initiate Actions on clients, could this data get updated after a while?
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Reminder Workflow does not recalculate new date to send email, if due date is changed
I created a basic reminder workflow using due date, and status column. it works well.
Let's say, I want to send a reminder email 2 days prior to the due date.
I used Add -2 to due date and set a variable
then used Pause variable
if status is not equal to completed
then send email
And I have this set to initiate when a new item is created, and modified.
However, if the due date is changed, it does not recalculate the new date to send the reminder email. Help!Hi MonalisaM,
The in-progress workflow instance will be unable to re-start itself when list item is modified, but I think you can design workflow with using the second workflow to update the list item one filed, then this update triggers
the first workflow again.
Stop this reminder workflow (first workflow) when due date is changed, then this will trigger the second workflow to change another custom column(e.g. Flag), then the first workflow will be triggered due to this custom column
Flag value changed by second workflow, I mean the second workflow is used to upadate this custom list item one filed(e.g. Flag) in order to trigger the reminder workflow(first workflow).
You can read the following article for more information to understand how to make the first workflow re-start by using second workflow.
http://sharepoint713.blogspot.com/2011/09/sharepoint-designer-workflow-to-send.html
Thanks
Daniel Yang
TechNet Community Support -
Price change report for a given date range in inforecords
hi,
Can any body suggest how we can get price changes in inforecords for given date range. is there any standard sap tcode or fuction module.Hi,
If you are referring to the changes in the condition record (for eg. for PR00), then you may go through the foll path:
Execute VK13 for any condition type - once inside the detail screen, from the menu path, choose Environment -> Changes -> change report. This will take you to a new selection screen where you can define the period you want to see the change record as well as the condition type for which you want to track the changes. Beware, this is a complex report for SAP and it will take definitely longer time to complete. So, it is better to specify short time periods and specific condition types and execute this in background.
Hope, this helps!
S. Siva -
Workflow Tasks spontaenously changed their start date without user input.
The issue I have is that a task list with a workflow attached to it spontaneously added major versions to over 200 items that changed the 'start' and 'end' dates. The user's name who was tagged as the one doing the update was not using sharepoint or even
at his computer for the time that this occurred.
Not all of the tasks in this list were affected and I can't find a pattern as to why -
I have seen this happen before at a different agency/installation where a user's name appeared suddenly on fresh updates a year and a half after he retired and was removed from the system.
Any ideas as to what might have happened?
Any suggestions on how to revert over 200+ task items to their previous version programmatically without having to edit each individual one?Hi,
As I understand, you want to know why the task will change the start date spontaneously and how to revert your 200+ task list items version.
How do you remove the user from the SharePoint 2013? And what permissions did the users have before you removed them?
Check if there is a rule that will change the start date spontaneously in the workflow attached with your task list, or if there is customer code or solution that will change the start date spontaneously.
If you want to revert the version of your task list items, you can achieve it by PowerShell script.
The article below is about how to restore versions by PowerShell script.
https://gallery.technet.microsoft.com/office/Restore-and-clean-up-f3c712fd
Best regards
Sara Fan
TechNet Community Support -
Mass change of posting date/fiscal year in LIV parked invoices
Hi,
We have OSS note 99775 (program ZFSAP2_B) for mass changing posting date and fiscal year for FI parked documents but I can not use this to change posting date for LIV parked invoices.
Did anyone have any idea how to mass change the posting date of LIV invoices? any NOTE or PROGRAM?
I tried to create a BDC using FBV4, which in turn calls MIR4, but system is over writing initial line item amount and qty from PO.
I can read initial invoice line item values and over write again but I dont think this is how I should do.
Please advice.
Thank you all and best Regards
Vijay GoliHi
Thank you very much for your input.I modified the program ZFSAP2_B given by sap and it worked fine for LIV invoices also.
When I used this program in 2007 for FV60 documents the document key was changed without raising the event FIPP.CHANGED. But this year when we changed the posting date the system triggered the CHANGED event and as a result of this event the workflow came to the starting point. We did not make any chages to workflow template during 2007. Any idea what could have casued this event to trigger?
Thanks
Vijay -
Workflow email reminders on calculated date column - Paused
I am having an issue in trying to setup a SP designer workflow to be able to send a notification if an approval is not met by a certain date. I was hoping someone could point out where I am going wrong with the
workflow details below?
The workflow is based off an infopath form. The form when submitted sends an email to the appropriate person that an action is required (which works fine). I
have created a calculated column (Reminder-2A) which is [Created]+20. So the approver has 20 days to approve the form. The workflow is required to send a notification to the user if the form has not been approved.
I have tried to use the "Start on item change" workflow context & paused the workflow until the ReminderDate is greater than or equal today. There are 2 steps for this approval so I have 2 approval steps based off the FormStatus when the approval
takes place.
So the issue stems from the first step not getting released from its pause state. I was hoping that once the form is approved the FormStatus field would force the workflow to complete that step (unpause) and move to the next step but how I have it currently,
it does not work that way. Can someone point me in the right direction as how I go about achieving this?
I have attached a snippet of the 2 stage approval and the workflow state on the SharePoint site
Many thanksHi Luca,
I think you can use event handler associated with item for item changed. Every time an item has been edited, check whether a workflow instance is still running. If so, cancel the running workflow. This link would help you. http://chrissyblanco.blogspot.com/2007/08/cancelling-running-workflow.html
If you don't want to go for coding, you can try below approach, SP designer workflows have this behavior that they do not stop when the item is updated.
Create 2 lists (parent and child) and a workflow on each (wf1 and wf2) respectively. When your condition meets in the workflow(wf1) of parent list, create an item in child list on which the wf2 workflow starts and pauses till the specified date. Once the
pause is completed, you can send the mail from workflow 1 or 2 and then delete the item in child list.
Modify your Parent list workflow to handle the below scenario. If you ever update the item in parent list, delete the corresponding item in child list that was paused/waiting and create a fresh one.
You need to store the fields Parent list Item ID, version(optional).
Parent list is your actual list. Child list is a staging one which you never expose to anyone.
Thanks Sandy -
How to get start date of the period for a given date from cube
I have a situation where i need to find the start day of the period for a given date. is there a way to know that. i want to use that in my report. i enter the date from my report(i have date parameter), depends on the date, i want to display the start day
of the period. how can i write expression for that in my report?
ramHi ramprasad74,
According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
report will return the first day of FPeriod.
To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
On the toolbar, click Design to toggle to Query mode.
On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
In the Dimension column, choose a value from the drop-down list.
In the Hierarchy column, choose a value from the drop-down list.
In the Default column, from the drop-down list, select a single value.
Click OK.
In query designer dialog box, type the mdx query like below:
with member [Measures].[FirstChild]
as
[Date].[Fiscal].currentmember.parent.firstchild.name
select {[Measures].[FirstChild]} on 0,
[Date].[Fiscal].[Date].members on 1
from
( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
from
[Cube]
Here are relevant threads you can reference:
https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here. -
How can I initialize all TabNavigator Tabs upon a state change?
Here's the basic goal. I want to provide two views to the
user that display the same panels. I configured each view as a
separate state but I am having trouble initializing each of the tab
views since they are only created by Flex when the user first
selects it. I need them all created when the user changes to that
state so that I can insert my view objects. Does that make sense?
Ok, how about an example program. I define three view objects
in ActionScript which will be used in two different states. I use
AddChild to put them in the proper layout location. The problem is
with the Tab state. The AddChild operation only works for the first
tab because it is visible. The other two tabs don't get setup
properly. Can anyone help me resolve this?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical"
creationComplete="onCreationComplete()">
<mx:Script>
<![CDATA[
import mx.containers.VBox;
import mx.controls.Label;
[Bindable] public var view1:VBox;
[Bindable] public var view2:VBox;
[Bindable] public var view3:VBox;
private function onCreationComplete():void
var label1:Label = new Label();
var label2:Label = new Label();
var label3:Label = new Label();
label1.text = "This is view 1.";
label2.text = "This is view 2.";
label3.text = "This is view 3.";
view1 = new VBox();
view1.label = "View 1";
view1.addChild(label1);
view2 = new VBox();
view2.label = "View 2";
view2.addChild(label2);
view3 = new VBox();
view3.label = "View 3";
view3.addChild(label3);
currentState = "wizardState";
private function changeState():void
switch(stateBox.selectedItem.data)
case 0: currentState = 'wizardState'; break;
case 1: currentState = 'tabState'; break;
]]>
</mx:Script>
<mx:Panel id="mainPanel" title="Tab View Bug" width="400"
height="320"/>
<mx:ComboBox id="stateBox" change="changeState()">
<mx:dataProvider>
<mx:Object label="Wizard" data="0"/>
<mx:Object label="Tabbed" data="1"/>
</mx:dataProvider>
</mx:ComboBox>
<mx:states>
<mx:State name="wizardState">
<mx:AddChild relativeTo="{mainPanel}"
position="lastChild">
<mx:HBox width="100%" height="100%"
verticalAlign="top">
<mx:ToggleButtonBar id="wizardButtonBar" width="20%"
direction="vertical"
dataProvider="{wizardViewStack}"/>
<mx:ViewStack id="wizardViewStack" width="80%"
selectedIndex="{wizardButtonBar.selectedIndex}"/>
</mx:HBox>
</mx:AddChild>
<mx:AddChild target="{view1}"
relativeTo="{wizardViewStack}" position="lastChild"/>
<mx:AddChild target="{view2}"
relativeTo="{wizardViewStack}" position="lastChild"/>
<mx:AddChild target="{view3}"
relativeTo="{wizardViewStack}" position="lastChild"/>
</mx:State>
<mx:State name="tabState">
<mx:AddChild relativeTo="{mainPanel}"
position="lastChild">
<mx:TabNavigator id="tabViewStack" width="100%"
height="100%">
<mx:VBox label="Tab 1" id="tab1"/>
<mx:VBox label="Tab 2" id="tab2"/>
<mx:VBox label="Tab 3" id="tab3"/>
</mx:TabNavigator>
</mx:AddChild>
<mx:AddChild target="{view1}" relativeTo="{tab1}"
position="lastChild"/>
<mx:AddChild target="{view2}" relativeTo="{tab2}"
position="lastChild"/>
<mx:AddChild target="{view3}" relativeTo="{tab3}"
position="lastChild"/>
</mx:State>
</mx:states>
</mx:Application>Ok, here is an even simpler scenario. I take each view from
the default state and put them in the new tab view when the state
changes. If you compile and run this example, the only view that
makes it into the tabview is the one that was active when the state
changed. Why is that?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:Script>
<![CDATA[
private function changeState():void
switch(stateBox.selectedItem.data)
case 0: currentState = ''; break;
case 1: currentState = 'tabState'; break;
]]>
</mx:Script>
<mx:Panel id="mainPanel" title="Tab View Bug" width="400"
height="320">
<mx:HBox id="wizardView" width="100%" height="100%"
verticalAlign="top">
<mx:ToggleButtonBar id="wizardButtonBar" width="20%"
direction="vertical"
dataProvider="{wizardViewStack}"/>
<mx:ViewStack id="wizardViewStack" width="80%"
selectedIndex="{wizardButtonBar.selectedIndex}"
creationPolicy="all">
<mx:Canvas id="view1" label="Part 1" >
<mx:TextInput text="This is view 1"/>
</mx:Canvas>
<mx:Canvas id="view2" label="Part 2">
<mx:TextInput text="This is view 2"/>
</mx:Canvas>
<mx:Canvas id="view3" label="Part 3">
<mx:TextInput text="This is view 3"/>
</mx:Canvas>
</mx:ViewStack>
</mx:HBox>
</mx:Panel>
<mx:ComboBox id="stateBox" change="changeState()">
<mx:dataProvider>
<mx:Object label="Wizard" data="0"/>
<mx:Object label="Tabbed" data="1"/>
</mx:dataProvider>
</mx:ComboBox>
<mx:states>
<mx:State name="tabState">
<mx:AddChild relativeTo="{mainPanel}"
position="lastChild">
<mx:TabNavigator id="tabView" width="100%" height="100%"
creationPolicy="all">
<mx:Canvas label="Tab 1" id="tab1"/>
<mx:Canvas label="Tab 2" id="tab2"/>
<mx:Canvas label="Tab 3" id="tab3"/>
</mx:TabNavigator>
</mx:AddChild>
<mx:RemoveChild target="{view1}"/>
<mx:AddChild target="{view1}" relativeTo="{tab1}"/>
<mx:RemoveChild target="{view2}"/>
<mx:AddChild target="{view2}" relativeTo="{tab2}"/>
<mx:RemoveChild target="{view3}"/>
<mx:AddChild target="{view3}" relativeTo="{tab3}"/>
<mx:RemoveChild target="{wizardView}"/>
</mx:State>
</mx:states>
</mx:Application> -
How to verify that the user has changed table row data before db update
Hi all,
Iam using Oracle ADF with EJBs.
I have a single selection table that displays rows of data returned from a function of my data control.
The columns of my table are editable so that the user can change the data. The user selects a row, changes the data in one or more columns of the row and saves the data by means of a submit button. The code in the submit button, identifies the row of the corresponding iterator that the user clicked on and updates the data in the database (using the 'mergeEntity' function of the EntityManager)
Before saving the data, I want to put some logic to check whether the user has actually changed some data to avoid unnecessary updates in the database . But for this I need a technique to detect that the user has indeed changed some data in the table row.
One technique I have been using so far was to isolate the iterator row of the table and then query the corresponding row in the database table and compare their values.
Except from dummy, this technique is not efficient if the table contains many rows.
Moreover, in my case I have observed that on successive updates on the same row , the query on the database returns the new values (user changed values) and not the actual values contained in the database table. This means that when the user updates an iterator row the cached data affect also the results of the SELECT statement from the actual database table!!! Isn't this strange ?
Can somebody propose me a neat method to detect when the user has changed the the data of an iterator row ?Hey Alan,
The below solution seems overly complicated to me and can not be implemented without a custom screen and/or the use of JavaScript. Also, if your main concern is that a user may accidentally loose all their data because they closed the browser window or the session times out before they hit the save button then this solution does not help you.
There are a couple of simpler approaches you can take here:
# If the use of JavaScript is permissible you can hook into the windows 'onUnload' event, and pop-up a message box which gives the user the opportunity to cancel closing the window and save their case if they haven't already.
# Implement an autosave feature by hooking into one of events provided by web determinations. A simple (but rather naive) way of doing this would be to hook into the OnRenderScreenEvent and call save on the interview session every time the event fires. This guarantees that all the data the user has submitted will aways automatically be saved, thereby removing the need to make sure the user manually saves their data before closing the browser.
Automatically making Web Determinations close a browser window has to be done using JavaScript. However, doing so means that a) it won't work for people who turn off JavaScript, which is commonly done for accessibility reasons b) you'll likely run afoul of the browser's security mechanism (they generally won't let you close a window that you didn't open and some really don't like you doing that at all).
Thanks,
Kristy -
ORA-00607: Internal error occurred while making a change to a data block
hi
i hv use testing purpose oracle 10 Xe in unix
but when today i hv connect database following error occured
SQL> startup
ORACLE instance started.
Total System Global Area 83886080 bytes
Fixed Size 1257284 bytes
Variable Size 75497660 bytes
Database Buffers 4194304 bytes
Redo Buffers 2936832 bytes
Database mounted.
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4193], [625], [640], [], [], [],
I hv check alert log , but no proper solution is given , how can start databaseDuh, and of course I missed the significance of
oracle 10 Xe in unix
XE is only supported for Linux - according to the downloads page that means "Debian, Mandriva, Novell, Red Hat and Ubuntu".
Oracle have not publically stated the reasons why XE is only available on Linux and Windows, but my guess is that it is something to do the Intel chip architecture. If this is so it would be possible for Oracle to port XE to run on Solaris for x86. But they have not done so yet.
Which means, alas, that you are unlikely to get any help for this one, because XE is not supported on any unix platform.
Good luck, APC -
Change goods Issue date and delivery date
while crating Sales document through VA01
i want to replace goods issue date (VBEP-WADAT ) with my Z calender date.
so that delivery date(ETDAT) aslo should chaged automatically ( bcz iof the change in goods isuue date ).
how to achive this ?
i tryied in Program program of MV45AFZZ/ MV45AFZB in the User Exists mentioned below:
1. Form Userexit_Check_VBEP
2. Form userexit_move_field_to_vbep
i was able to change goods issue date (VBEP-WADAT ) but not refleting in output screen,..
regards,
rameshHi Venkat,
Even it did not update in my user exit when I update from VBEP-WADAT. So, I did back calculation (considering route lead time) and updated Delivery date field VBEP-EDATU. It is simple. I have given the sample code as below.
if lines( xvbap[] ) = 1 and VBEP-ETENR = '0001' and "Calculate RDD while the first line item entered
vbap-route <> space and <<your GI date>> is not initial. "Only when header RSD is filled
select single TRAZTD into ws_traztd from tvro
where route = vbap-route.
ws_days = ws_traztd / 24 / 10000.
if ws_days <> 0. "Only when Transp. Lead time is maintained ( So, will not affect other entities )
select single FABKL into ws_fabkl from T001W
where WERKS = vbap-werks.
CALL FUNCTION 'WDKAL_DATE_ADD_FKDAYS' "Calculate as per Factory calender
EXPORTING
i_date = <<your GI date>>
i_fkday = ws_days
i_fabkl = ws_fabkl
IMPORTING
E_DATE = ws_date
E_FKDAY =
EXCEPTIONS
ERROR = 1
OTHERS = 2
IF sy-subrc = 0.
VBEP-EDATU = vbak-vdatu. "copy to the first line item
ENDIF.
endif.
endif. "Route days -
How do I use AppleScript to Change the Creation Date to the Current Date?
I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
So my question is this: how do I use AppleScript to change the creation date of an item to the current date?TC (Techno Cat) wrote:
Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
What am I doing wrong?
Looks like the date and time was not quoted
Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #E6E6EE;
overflow: auto;"
title="this text can be pasted into the AppleScript Editor">
set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
tell application "Finder"
set filelist to every file of the alias (the path to downloads folder as text)
repeat with currentFile in filelist
do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
end repeat
end tell</pre>
Maybe you are looking for
-
Can i get microsoft word on my ipad?
I really need it for my school work. And also if its free that would be great. :)
-
Strange read-through operation after entry processor work
Hi. We use the combination cache listener - entry processor to do some actions when the data comes to coherence. We use Oracle Coherence Version 3.5.3/465. Just after the entry processor has set the new value for the entry, the new "get" operation is
-
How to Prevent Endless Buffering after Playback?
I'm using the Strobe Media Playback player. The video works very well on both iOS and Desktops, (I'm very pleased), but I'm seeing an anomaly after playback ends. When the video has finished playing, it begins buffering, or at least the "Buffering...
-
An RSS feed without all the RE:'s???
I must be the only one that reads cretin boards on here via RSS. The problem is, I get hundreds of posts a day because the RSS feed includes EVERY SINGLE MESSAGE that is posted! Why not only when a new topic is posted? I could then go from 200 messag
-
Hi All, I often work with images in Illustrator when creating adverts, I know it's not the best programme for this task but I love it and use it for almost everything these days. When working with CMYK document I import a beautiful bright image do th