Managing a synchronous event
Hi,
In my program I want that an event occurs every 10 seconds. I think I need a timer and a method where I go into when the timer is at multiples of 10. Can you help me?
class YourTimerTask extends TimerTask {
public void run() {
// do whatever has to be done
Timer timer = new Timer();
timer.scheduleAtFixedRate(new YourTimerTask(), 10000, 10000); // every 10 seconds, starting in 10 seconds
Similar Messages
-
Synchronous events - DAQmxRegisterEveryNSamplesEvent
Hello,
I am writing a data acquisition application using an 18-bit PCI-6281 A/D board, on Windows XP using Borland C++ Builder 6.
The documentation for DAQmxRegisterEveryNSamplesEvent says that if the DAQmx_Val_SynchronousEventCallbacks flag is used, then the event callbacks will occur in the thread that registered the event, if messages are being processed. The "message processing" mention in the documentation seems rather vague to me, since it doesn't describe which Windows messages should be processed. So far I have been unable to find any further documentation or code examples that show how to use synchronous events.
My question is, how can I set up the "message processing" to use synchronous events? Any help would be appreciated.
Thanks very much,
Markus Svilans.Please ignore this message, I accidentally posted it in the wrong section. (So much for getting it right the first time
Regards,
Markus. -
In my deployment I have 2 brokers, and 3 session hosts. I finally installed Update 1 and all following updates available (the ones that were available about two weeks before). Also updated Forefront to v4.3 (SCCM managed).
I have roaming TS profiles enabled with folder redirection and also policy set to "delete local copy of roaming profiles" after logout. Profile folders are on a network share (Server 2003). Things were working ok until Update 1 and rest of updates
got installed.
I started getting events 1509 and 1504 when users logoff and the screen displays "Your roaming profile was not completely synchronized" message briefly. The only file affected so far is ntuser.pol.
There are two variations of the event, one claiming it cannot write the local server copy to fileshare, and the opposite, from file share to c:\users\username.
====
Windows cannot copy file \\server\profileshare\username.V2\ntuser.pol to location C:\Users\username\ntuser.pol. This error may be caused by network problems or insufficient security rights.
DETAIL - Access is denied.
=====
Windows cannot copy file C:\Users\username\ntuser.pol to location \\server\profileshare\username.V2\ntuser.pol. This error may be caused by network problems or insufficient security rights.
DETAIL - Cannot create a file when that file already exists.
==========
Permissions have not changed. The only thing changing is the Updates installed on the servers. I tried running with AV realtime protection off, no change. Ntuser.pol is already on the exclude list in Forefront.
This is happening on my test server and 2 prd servers. Any ideas. I looked for related hotfixes but not coming up with anything.
The whole reason for installing Update 1 was so that we can continue to receive security updates...Hi,
Thanks for your comment.
When a roaming profile user logs off, the NTuser.dat file is always updated on the roaming profile share. The corresponding NTuser.pol file is only updated if the timestamp of the local copy that was created at logon is newer than the copy found in the roaming
profile share. A synchronization problem may occur if a user with a roaming profile logs on to multiple client computers at the same time. This can eventually cause policy settings to be applied incorrectly.
For example, if the Group Policy loopback feature is applied on one of the client computers, the NTuser.dat file on the roaming profile share may contain loopback policy settings that are not present in the NTuser.pol file. If this problem occurs, the loopback
policy settings that are targeted at one client computer may be unexpectedly applied to a user who logs on to a different client computer.
So please check the permission or group policy which you have applied and also whether you are performing multiple connection at a time.
Note: This KBhere providing only for reference as it’s for previous version.
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support -
Property Manager: PN_LEASE_MILESTONES_ALL (Check Event Alert)
Hi,. I tried to configure the Check Event Alert to Property Manager (PN_LEASE_MILESTONE_ALL), in the documentation , I read that I must configurate ORACLE ALERT, but I don´t find some documentation about it.
I did an Event Alert, but i cant merge the Milestone Template with Alert, by that I mean when the table PN_LEASE_MILESTONE_ALL is updated or inserts rows, the notifications email is ok, but any information about the template uses:
Action Due Date
Lead Days.
Responsible User
Type
Frequency
Begin Date
So, Can you help me?Can you find any details about the error from the "View Detail" button (the same window where you check the log and output files)?
I found the Workflow logs, I am not sure what I am looking for, but i am not seeing any errors reported.The event viewer is supposed to send an email, so do you see anything in the logs that could be related?
Thanks,
Hussein -
IPhoto Library Manager MERGE = Untitled Events - ??
I must be missing something. (argh)
When I attempt to MERGE two libraries in iPhoto Library Manager - it brings everything in as "Untitled" - all the Photos seem to be separating out into their specific Events, but the Events are Untitled.
Is this something that will correct itself later on in the Merge when other data is brought over or is there something I need to do differently to retain the Event Titles? (doh!)
Thank you in advance!Best to contact the makers of Library Manager for that one.
Regards
TD -
Custom Security Manager or Security Event Interception from WebLogic Console
Hello,
I have built my own Security Manager and implemented custom preference/property mechanism for every Principal, so when I use my Swing client to create new User and new Group, as well as addMember to a Group, I know what to do with those properies/preferences.
Now, I want to use WebLogic Console to manage users and groups. I want to intercept events in my Security Manager about new User or Group creation or changing their memberships as Principals in order to handle their Preference/properties stuff myself...
I wonder what should I "listen" in order to understand that someone has changed membership of Users or Groups or about creation of new User or Group?
I use Weblogic Server 6.0 sp2
sergeHi Daniel,
> a custom security manager for the standard CM Repository
And this dictates you indeed to use the old API, as the CMRepositoryManager itself is using the old API.
The standard AclSecurityManager is implemented by com.sapportals.wcm.repository.manager.generic.security.AclSecurityManager. If you check out Configuration - Content Management - Repository Managers - Security Manager, you will see "ACL Security Manager" (the one from above) and "ACL Security Manager (for new Manager-API)". This is implementing / using the new API, but needs also a RM using the new API.
> java.lang.NoSuchMethodException: MySecurityManager.<init>
This exception only complains about a missing constructor!? Have you implemented a default constructor?!
> If this is the case, where can I find the API for IUMPrincipal? It is not included in any provided API because of deprecation.
The methods of the old EP5 user management are more or less similar to the new UME, so using the old deprecated API should be more or less straight forward.
There are also transformer methods for example to transform a "new" user object to an old EP5 one, see https://forums.sdn.sap.com/thread.jspa?threadID=235656&tstart=0
Hope it helps
Detlev -
We have a client who has a SBS 2011 Std SP1 running MSExchange 2010. Recently we moved their locally hosted email to Office 365 and shut off all off the MSExchange services as none of them are necessary for the client anymore.
Since the migration, we have been receiving the error in the title. Below is the full error.
Log: Application
Type: Error
Event: 5000
Agent Time: 2015-04-07 03:01:44Z
Event Time: 07:00:12 AM 7-Apr-2015 UTC
Source: MSExchange Management Application
Category: AdminAuditLog
Username: N/A
Computer: Servername.Domain.local
Description: Failed to save admin audit log for this cmdlet invocation.
Organization:
Log content:
Subject: NT AUTHORITY\SYSTEM (DataCollectorSvc) : Update-SafeList
Body:
Cmdlet Name: Update-SafeList
Object Modified: Domain.local/MyBusiness/Users/SBSUsers/Admin Assistant Modified Object Resolved Name: Admin Assistant
Parameter: Identity = Domain.local/MyBusiness/Users/SBSUsers/Admin Assistant
Caller: NT AUTHORITY\SYSTEM (DataCollectorSvc)
Succeeded: False
Error: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=DWSSERVER/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNetworkError:
MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)\nDiagnostic context:\n ......\n Lid: 10648 dwParam: 0x6D9 Msg: EEInfo: Generating
component: 2\n Lid: 14744 dwParam: 0x6D9 Msg: EEInfo: Status: 1753\n Lid: 9624 dwParam: 0x6D9 Msg: EEInfo: Detection location: 501\n
Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0\n Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4\n Lid: 8856
dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp\n Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: Servername.domain.local\n
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -1527653632\n Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Long val: 382312662\n
Lid: 59505 StoreEc: 0x824 \n Lid: 36081 \n Lid: 52465 StoreEc: 0x80040115\n Lid: 60065 \n Lid: 33777 StoreEc: 0x80040115\n
Lid: 59805 \n Lid: 52209 StoreEc: 0x80040115\n Lid: 56583 \n Lid: 52487 StoreEc: 0x80040115\n Lid: 19778 \n Lid: 27970
StoreEc: 0x80040115\n Lid: 17730 \n Lid: 25922 StoreEc: 0x80040115\r\n at Microsoft.Mapi.MapiExceptionHelper.InternalThro...
We are going to rebuild them a new server soon, but we would like to stop the event alerts. Please assist.Ryan
Can we get your event viewer logs? Have you run a malwarebytes scan? I cant find anything about that application other than on malware forums, what is it?
Please provide us with your Event Viewer administrative logs by following these steps:
Click Start Menu
Type eventvwr into Search programs and files (do not hit enter)
Right click eventvwr.exe and click Run as administrator
Expand Custom Views
Click Administrative Events
Right click Administrative Events
Save all Events in Custom View As...
Save them in a folder where you will remember which folder and save as Errors.evtx
Go to where you saved Errors.evtx
Right click Errors.evtx -> send to -> compressed (zipped) folder
Upload the .zip file to Onedrive or a file sharing service and put a link to it in your next post
If you have updated to win 8.1 and you get the error message "the system cannot find the file specified" it is a known problem. The
work around is to edit the registry. If you are not comfortable doing this DONT. If you are, backup the key before you do
Press Win+"R" and input regedit
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/Analytic"
Wanikiya and Dyami--Team Zigzag -
Try/catching errors occuring in synchronous event handlers
Hi,
I know that using try/catch in flash player it is possible to catch only synchronous errors, but recently I ran into code in our application which I strongly believe is synchronous but it behaves as if it wasn't.
In example below I create event listener and inside try/catch I dispatch event. Handler function throws error. Executing code stops when error is thrown, so message "after throwing error" won't be logged, but try/catch block catches nothing and code executes as if nothing happened after event dispatch.
Dispatching event on element executes handler method immediately so it is synchronous execution. Event call stack which is displayed in debug versions of flash player, shows every function from creation of class to execution of handler.
Generally flash applications relays heavily on events and in my case it caused ours users projects to be irreversibly corrupted, because of this continuing to work after error, which I even can't properly detect and handle, cause it's going throught 5 or more event handlers and adding try/catch to each handler would create enormous chaos in my code. So my question is why does flash player behaves like this? Are there any ways to tell compiled SWF file to treat such cases as synchronous calls, f.e. compilation parameters?
package
import flash.display.Sprite;
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.text.TextField;
public class TestApp extends Sprite
public var cTextField:TextField;
public function TestApp()
cTextField = new TextField();
cTextField.width = 300;
cTextField.height = 200;
addChild(cTextField);
onAppCreated();
protected function onAppCreated():void
var eventName:String = "my_event";
var caughtError:Boolean = false;
var dispatcher:EventDispatcher = new EventDispatcher();
dispatcher.addEventListener(eventName, handler);
try
dispatcher.dispatchEvent(new Event(eventName));
} catch (error:Error)
caughtError = true;
cTextField.text += caughtError ? "caught error\n" : "error wasn't caught\n";
protected function handler(event:Event):void
cTextField.text += "before throwing error\n";
throw new Error("throw error");
cTextField.text += "after throwing error\n";Okay, nobody bit. Sorry.
The only way to really figure out what is going on is to look at a running example with a C++ debugger. I'm particularly curious about whether this problem happens in a specific browser/os combination (we may be working around a quirk of that platform), or if it's something that happens everywhere.
The most effective way to proceed is going to be to file a bug with a simplified, executable example (source and compiled SWF, ideally) that demonstrates the problem. This will help me route the bug to a developer and get you an answer in the shortest time possible.
You can file a bug here:
http://bugbase.adobe.com/
If you reply here with the bug number, I'll get it assigned to an engineer.
Thanks! -
Alert Management-"Alerts with Event Linkage" Generate Duplicate Workitems
Hi Gurus,
I just finished the tutorial, "Triggering ALM Alerts with Event Linkage" step by step. It trigers an alert by business object bus2012. With the setting of event linkage, it works fine to post alert when POs are changed.
However, it generates duplicate workitems at Alert Inbox.
Could you provides any suggestions to solve it out?
Cheers,Hi,
Are you using a triggering event to start the workflow? Please check the event trace to see if 2 events are bing raised. If so then please check if you or someone else have maintained and entry in SWEC (Change documents) to raise this event also. This may be the reason for 2 events.
Regards,
Eddie -
Error management in an event handler in a powershell form
Hi guys
I wrote a powershell form using event handler. It ask for a name and a IP adress and other things
In the event handler,
- if the user leave the name blank, I open a message box saying it should not be empty
- if the user enter a wrong ip adress, I open a message box saying it should be like x.x.x.x
If both occurs, it displays 2 message box.
But I would like to display only the first message box of the first error and then exit the handler, to avoid displaying many messages.
How to exit from a handler and stay in the form (not like the cancel button handler which close the form with a form.close() statement)
I tried break statement or exit without success
thanks
MLHi guys
This is the code I wrote today. I may give also the full code of the interface, but it reach 1300 lines.
$Retry variable lets me control the first error in the interface to display the message box.
It's not finished yet, I need to add something like "formclose" if $Retry is false.
I use semicolons because for me, it's easier to read :-).
I'm sorry I don't understand the explanation in your link.
http://msdn.microsoft.com/en-us/library/system.componentmodel.canceleventargs%28v=vs.110%29.aspx
What would happen if I type
$_.Cancel = $true
instead of $Retry = 1, it will exit immediately from the handler ? I can't try now, I'm came back home
Thanks
ML
function IsIP($value) {
$match = "\b(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}\b"
return $value -match $match
function IsURL([string]$Url)
if($Url -eq $null) {return $false}
else {return $Url -match "^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*"+`
"(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$"}
function toBinary ($dottedDecimal){
$dottedDecimal.split(".") | %{$binary=$binary + $([convert]::toString($_,2).padleft(8,"0"))}
return $binary
#Provide Custom Code for events specified in PrimalForms.
$handler_WinFactoryGUI_Load=
#TODO: Place custom script here
$HardwareCombo.SelectedIndex = 0 # Default values of Combo boxes
$WindowsEditionCombo.SelectedIndex = 0
$ServerName.Select()
$handler_cancel_Click=
#TODO: Place custom script here
$WinFactoryGUI.Close()
$Handler_Server_Info_Leave=
#TODO: Place custom script here
$Handler_DNS_Config_Leave=
#TODO: Place custom script here
$Handler_GenerateIso_Click=
#TODO: Place custom script here
$Retry = $false
# ServerName
$ServerName2Install = $ServerName.Text
if ($ServerName2Install -eq "") {$MSg = "Server name is missing"; $Retry = $true}
# Windows Version
$TabWindowsVersion = @("2008R2STD","2008R2ENT","2008R2DTC","2012R2STD","2012R2DTC")
$i = $WindowsEditionCombo.SelectedIndex
$WindowsVersion = $TabWindowsVersion[$i]
if (! $Retry) {
# OperIP : mandatory
$OperIP = $OperIP1.Text + "." + $OperIP2.Text + "." + $OperIP3.Text + "." + $OperIP4.Text
$OperMask = $OperMask1.Text + "." + $OperMask2.Text + "." + $OperMask3.Text + "." + $OperMask4.Text
$DefaultGateway = $Gateway1.Text + "." + $Gateway2.Text + "." + $Gateway3.Text + "." + $Gateway4.Text
$Msg = ""
$OperIPOK = IsIP($OperIP); if (! $OperIPOK) { $Msg = $Msg + "OperIP is invalid`n";$Retry = $true }
$OperMaskOK = IsIP($OperMask); if (! $OperMaskOK) { $Msg = $Msg + "OperMask is invalid`n";$Retry = $true }
$DefaultGatewayOK = IsIP($DefaultGateway); if (! $DefaultGatewayOK) { $Msg = $Msg + "DefaultGateway is invalid`n";$Retry = $true}
$ipBinary = toBinary $OperIP
$smBinary = toBinary $OperMask
#how many bits are the network ID
$netBits=$smBinary.indexOf("0")
#validate the subnet mask
if(($smBinary.length -ne 32) -or ($smBinary.substring($netBits).contains("1") -eq $true)) {$Msg = "Subnet Mask is invalid!";$Retry = $true}
else {
#validate that the IP address
if(($ipBinary.length -ne 32) -or ($ipBinary.substring($netBits) -eq "00000000") -or ($ipBinary.substring($netBits) -eq "11111111")) {$Msg = "IP Address is invalid!";$Retry = $True}
# TechIP : optional
if (!$Retry) {
if (($TechIP1.Text -eq "") -and ($TechIP2.Text -eq "") -and ($TechIP3.Text -eq "") -and ($TechIP4.Text -eq ""))
$TechIP = "0.0.0.0"
$TechMask = "0.0.0.0"
else
$TechIP = $TechIP1.Text + "." + $TechIP2.Text + "." + $TechIP3.Text + "." + $TechIP4.Text
$TechMask = $TechMask1.Text + "." + $TechMask2.Text + "." + $TechMask3.Text + "." + $TechMask4.Text
$TechIPOK = IsIP($TechIP)
if (! $TechIPOK) { $Msg = $Msg + "TechIP is invalid`n";$Retry = $true }
$TechMaskOK = IsIP($TechMask)
if (! $TechMaskOK) { $Msg = $Msg + "TechMask is invalid`n";$Retry = $true }
# DNS domain
if (! $Retry) {
$DnsDomainSrv2Install = $DnsDomain.Text
if ($DnsDomainSrv2Install -eq "") {$Msg = $Msg + "DNS Domain is invalid`n";$Retry = $true }
# DNS Suffixes
if (! $Retry) {
$DnsSuffixes2Install = $DnsSuffixes.Text.replace("`n",":")
if ($DnsSuffixes2Install[$DnsSuffixes2Install.Length] -eq ":") {
$DnsSuffixes2Install = $DnsSuffixes2Install.Substring(0,$DnsSuffixes2Install.Length-1)
if ($DnsSuffixes2Install -eq "") {$Msg = $Msg + "DNS suffixes list is invalid`n";$Retry = $true }
# DNS adresses
if (! $Retry) {
if ($DNSIP11.Text -ne "") {
$DNSIP1 = $DNSIP11.Text + "." + $DNSIP12.Text + "." + $DNSIP13.Text + "." + $DNSIP14.Text
$DNSIP1POK = IsIP($DNSIP1) ; if (! $DNSIP1POK) { $Msg = $Msg + "DNS IP 1 is invalid`n";$Retry = $true } else { $DNSAddrList = $DNSIP1}
if ($DNSIP21.Text -ne "") {
$DNSIP2 = $DNSIP21.Text + "." + $DNSIP22.Text + "." + $DNSIP23.Text + "." + $DNSIP24.Text
$DNSIP2POK = IsIP($DNSIP2) ; if (! $DNSIP2POK) { $Msg = $Msg + "DNS IP 2 is invalid`n";$Retry = $true } else {$DNSAddrList = $DNSAddrList + ":" + $DNSIP2}
if ($DNSIP31.Text -ne "") {
$DNSIP3 = $DNSIP31.Text + "." + $DNSIP32.Text + "." + $DNSIP33.Text + "." + $DNSIP34.Text
$DNSIP3POK = IsIP($DNSIP3) ; if (! $DNSIP3POK) { $Msg = $Msg + "DNS IP 3 is invalid`n";$Retry = $true } else {$DNSAddrList = $DNSAddrList + ":" + $DNSIP3}
if ($DNSIP41.Text -ne "") {
$DNSIP4 = $DNSIP41.Text + "." + $DNSIP42.Text + "." + $DNSIP43.Text + "." + $DNSIP44.Text
$DNSIP4POK = IsIP($DNSIP4) ; if (! $DNSIP4POK) { $Msg = $Msg + "DNS IP 4 is invalid`n";$Retry = $true } else {$DNSAddrList = $DNSAddrList + ":" + $DNSIP4}
else { $Msg = $Msg + "At least, one Dns server IP must be provided`n";$Retry = $true }
# Hardware
$TabHardware = @("VM","HP","MS")
$i = $HardwareCombo.SelectedIndex
$Hardware = $TabHardware[$i]
# vCenter
$vCenterName = "parameter.not.used"
# Flags
#""_;_;_;1;_;http://m011ML-SCCM.pocx86.tstwinx.net:8530;1"""
if (! $Retry) {
$Flag = ""
if ($CheckBoxPED.Checked -eq $true) {$Flag = $Flag + "1;"} else {$Flag = $Flag + "_;"}
if ($CheckBoxOmnivision.Checked -eq $true) {$Flag = $Flag + "1;"} else {$Flag = $Flag + "_;"}
if ($CheckBoxBackup.Checked -eq $true) {$Flag = $Flag + "1;"} else {$Flag = $Flag + "_;"}
if ($CheckBoxNagiosInstall.Checked -eq $true) {$Flag = $Flag + "1;"} else {$Flag = $Flag + "_;"}
if ($CheckBoxInstallSRM.Checked -eq $true) {$Flag = $Flag + "1;"} else {$Flag = $Flag + "_;"}
$WsusUrl2Configure = $WsusUrl.Text;
if ($WsusUrl2Configure -eq "") {$WsusUrl2Configure = "_"}
else {
$WsusURLOK = IsUrl($WsusUrl2Configure)
if (! $WsusURLOK) {$Msg = $Msg + "WSUS Url is Invalid`n";$Retry = $true }
$Flag = $Flag + $WsusUrl2Configure
if ($CheckBoxHPSA.Checked -eq $true) {$Flag = $Flag + ";1"} else {$Flag = $Flag + ";_"}
$Flag = """""$Flag"""""""
if ($Retry) {[System.Windows.Forms.MessageBox]::Show($Msg,"Status",0);$Msg = ""}
else { $WinFactoryCall = "start-process ""cmd.exe"" ""/c .\GenBootImage.cmd "
$WinFactoryCall = $WinFactoryCall + $ServerName2Install + " " + $WindowsVersion + " " + $OperIP + " " + $OperMask + " " + $DefaultGateway + " " + $TechIP + " " + $TechMask
$WinFactoryCall = $WinFactoryCall + " " + $DNSAddrList + " " + $DnsDomainSrv2Install + " " + $DnsSuffixes2Install + " " + $Hardware + " " + $vCenterName + " " + $Flag + " -wait"
write-host $WinFactoryCall
$OnLoadForm_StateCorrection=
{#Correct the initial state of the form to prevent the .Net maximized form issue
$WinFactoryGUI.WindowState = $InitialFormWindowState
ML -
Synchronizing events on iCal server
Hello!
Has a customized OS X Lion Server installed with a valid SSL class 2certificate.
On a server configured to iCal.
There is a problem with the work of iCal on iPhones:
- Added by either of two user events, or do not appear on the iPhone, orappear only after you open iCal on your phone
the phone settings "Loading Data" Push and every 15 minutes
OS on MacBook OS X Lion, the iPhone last firmware
Please tell me how to get on the phone to update itself without user action
thanks in advanceMaybe someone in the Lion Server Forum would be able to help?
Regards,
Colin R. -
Enterprise Compensation Management and Workflow event linkage
Hi Experts,
When the compensation plan is submitted for an Employee ECM_Submit event does not get triggered. The configuration for the user interface settings is complete. Even tried to put the external debugger in the class CL_HRECM00_WORKFLOW_EVENT in the method RAISE_COMPENSATION_NOTIFICATION but system is not stopping at the debugger and directly updated the records in info type 759 with submit status without triggering the event.
Please advise.
Regards
Bhanu Prakash.Pavan,
The document link is for setting up annual review.
Our requirement is to set up any-time review for which system does not allow the setting up of the User Interface records for notification.
However, immaterial of whether notification is selected or not, the system events CREATE, SUBMIT, APPROVE, REJECT must be triggered. Only if there is a receiver to those events, following actions may occur.
Sorry but the link does not help me get a solution for the problem we are facing.
Thanks. -
Business Event Brochure in Training and Event Management?
Hi Guru's
My client has a requirement as follows. The training administrator decides the Business Event Types which for which superiors can book their subordinates or not. Those events are stored at a particular place. Once the administrator stores them, a mail should be triggered to all the superiors. Thus superior can have a list of event types for which he can book his subordinates. When he books for such events, a mail should be triggered to his subordinates regarding the training event. If an employee books for an event, a mail should be triggered to his superior for approval.
How is this possible? According to me, those events will be "Included in Brochure" (in Business Event Type Infotype). Am I right?
Please suggest me.
Points assured!
Thanks in advance.Hello ,
see the links it might help :
Business processes of Training and Event Managment
Training and Event Management
Lots of workflow -
Workflow for training and event management
Hi,
I have to develope a workflow regarding event type prebooking whic will be pre-booked thru pv02 , now my requirement is to send a workitem text to manager ess account who will appprove or reject this event type.
After approval it shud make updation in database but not in the case of rejection .After that Manager preebook a event for those who are alredy approved for the same event type and after event booking it shud also update the attendance table or infotype .
Thanks .Hi,
Set the Values to the Business Object container
SWC_SET_ELEMENT CONTAINER 'profit' profit.
Read the Values in the attribute
swc_get_property SELF 'TravelerName' Lv_traveller
Also refer this [Link|https://wiki.sdn.sap.com/wiki/x/moOmAw]
Regards,
Surjith
Edited by: surjith kumar on Mar 26, 2009 9:45 AM -
Cisco Embedded Event Manager Issue
Hello Experts,
I have taken the following sample EEM from
https://learningnetwork.cisco.com/blogs/network-sheriff/2009/06/19/writing-your-first-eem-applet
The intention is to send a notification to an email address about a network problem. I have modified it bit for illustrative purposes. You will see that there are various show commands.
Can someone please show me how to email the show commands instead just appending them to the directory called "server_unreachable"?
TechWiseTV4506(config)#eve
nt manager environment _email_server 172.16.1.44 (<-my Post Cast server)
TechWiseTV4506(config)#event manager environment _email_to [email protected]
TechWiseTV4506(config)#event manager environment _email_from [email protected]
event manager applet email_server_unreachable
event track 10 state down
action 1.0 syslog msg "Houston we have a problem. Ping failed, server unreachable!"
action 1.1 cli command "enable"
action 1.2 cli command "del /force flash:server_unreachable"
action 1.3 cli command "show clock | append server_unreachable"
action 1.4 cli command "show ip arp 172.16.1.55 | append server_unreachable"
action 1.5 cli command "show ip route 172.16.1.55 | append server_unreachable"
action 1.6 cli command "show interface FastEthernet0/1/1 | append server_unreachable"
action 1.7 cli command "more flash:server_unreachable"
action 1.8 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "Server Unreachable: ICMP-Echos Failed" body "$_cli_result
action 1.9 syslog msg "Server unreachable alert has been sent to email server!"
Cheers
CarltonThis applet will actually email the results. However, in order to get all of the output together, it uses the server_unreachable file as an accumulator buffer. That file could be deleted as action 2.0:
action 2.0 cli command "delete /force flash:server_unreachable"
But that is already there in action 1.2, so it's not really needed.
What will happen is the applet will more the file to collect all of the output. That aggregated output will be stored in the $_cli_result variable. The result is that the body of your email will contain the consolidated command output.
Maybe you are looking for
-
Can't print both sides (manually) with Windows 7 but can with XP
My OfficeJet 5510 has "Print Both Sides" as an option on the "Finishing" tab, when I use it from the desktop running XP, which it's connected to with USB. That option doesn't appear anywhere when I try to print from my laptop running Windows 7, over
-
Firmware updated, now I can´t use Huawei E220 modem
I´m at the end of my tether. I have an i-mac running OSX 10.4.8 if I remember correctly. Yesterday (2nd October 2007) my mac downloaded a firmware update. I let it install the firmware update and then when I tried to get on the net with my Huawei E22
-
In Photo Booth are the video back drops copyrighted?
I am creating a DVD for my students and would like to use the Yosemite waterfall clip in a relaxation segment of the production. Is it copyrighted by Apple? If it is, then I won't use it. If this is not the best community for this question, could som
-
Access the X-axis value from Flash Chart
Hi, Is there a way I can access the X-axis value from Flash Chart to populate a report in another page? My X-axis is not a direct column in the table it is computed in the query. X-axis is MON-YEAR computed from the Begin_Date column. I want to captu
-
Reload Software 552 Error message work around
I'm desperate.. and climbing out of my skin The long and the short of it: I have an 8520 and I got an error message of 'Relooad Software 552', but I can't get it to load I was able to tether the phone and get into the Application Loader, even though