Applescript to make task note part of task name

If I have a task say
Do this
Task Note - @work
Is it possible for me to dump the task note @work to task name and name becomes
Do this @work
Can this be done for all my tasks.

Your request is a bit vague, but see the script below. I suggest that you backup your iCal before running this in case you don't like the result. Change the calendar to the one you want.
-- John Maisey -- www.nhoj.co.uk -- 29 Mar 2010
-- This script gets all todos in the specified calendar and moves their notes that contain the requires text into the title.
set calendarName to "Home"
set theText to "@work"
tell application "iCal"
set myTodos to (todos of calendar calendarName)
repeat with myTodo in myTodos
if (description of myTodo) contains theText then
set (myTodo's summary) to (myTodo's summary) & " " & theText
end if
end repeat
end tell
Best wishes
John M

Similar Messages

  • How to make tasks in iCal repeat?

    This might be a stupid question, but I'm trying to make tasks in iCal repeat on a regular basis. For instance, instead of having to set a task to repeat every Monday at 10am, I just want to set a task for Monday at 10am and then have it repeat every Monday at 10am. Am I missing this setting somewhere?

    volleyhart,
    iCal Help says:
    You can set how often an event occurs on
    your calendar, and when it stops occurring
    1. Select the event and click the Info button in the
    bottom-right corner of the iCal window.
    In Day or Week view, you can also double-click the
    bar along the top of the event (where the event's
    start time appears).
    2. Choose how often you want the event to occur from
    the "repeat" pop-up menu.
    To make more specific recurrence choices (for
    example, to have the event appear only every third
    week of the month), choose Custom from the "repeat"
    pop-up menu and make your choices in the window that
    appears.
    3. Choose whether you want the event to stop
    appearing after a number of times or after a specific
    date from the "end" pop-up menu.
    You can also quickly change when the event stops
    occurring by pressing the Control key and clicking
    the event, and then choosing "Stop Recurrence" from
    the shortcut menu.
    ;~)
    Hi, thanks for your response. I don't have a repeat occurrence pop-up menu when inserting new tasks, which makes it all the more confusing - I have that menu when inserting new calendar events, but not tasks. Thoughts?

  • Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Not a lot of details here, but my guess is this isn't working for you because you are wiring in the task to the Active Channels Property and not the actual Channel Name. I have attatched a screenshot of what I believe you are trying to do. The Task has 2 channels in it, so I need to index off one of the channels and wire it into the active channels input of the Channel Property node. Then I can read information about that channel
    Attachments:
    channel_name.JPG ‏69 KB

  • Microsoft Project 2013 - Text under Task Names not formatting for Critical Path to different color (e.g. red)

    I am working with MS Project 2013 Professional
    I am trying to format the text for Critical Path items under the 'Task Name' column to stand out as red - but it does not seem to be working
    This is what I do - I go to "Format" tab,  "Text Styles" "Critical Tasks" and then set Color as red, click OK. The text does not change form the default black.
    Earlier, I had formatted the whole of that column "Task Name" as "Automatic Color" - that seems to have triggered this off
    See attached screenshot
    How can I fix this?
    Thanks
    HardCore Scheduler
    P.S. I couldn't find the answer to any similar question in this forum

    HardCore Scheduler --
    Your mistake was formatting the Task Name column with Automatic Color, as this overrides the setting in the Text Styles dialog.  Here is how to fix it:
    In the View section of the Task ribbon, click the Gantt Chart pick list button (drop-down arrow) and select the Reset to Default Item on the menu.
    Click the Yes button when prompted in a confirmation dialog.
    Widen columns as needed and scroll the Gantt Chart pane back to the beginning of the project.
    Click the Format tab to display the Format ribbon.
    Select the Critical Tasks checkbox in the Bar Styles section of the ribbon.
    Click the Text Styles button in the Format section of the Format ribbon.
    In the Text Styles dialog, click the Item to Change pick list and select Critical Tasks.
    Set the Color pick list to Red and then click the OK button.
    This should display what you want to see.  Hope this helps.
    Dale A. Howard [MVP]

  • How can I configure MA to display "speaking" OpCode and Task names

    If you have a custom ETW Eventsource definition: PerfView reads and Displays from the etl files the OpCode and Task values not as integer but as defined in EventSource inner classe for Task and in the
    System.Diagnostics.Tracing.EventOpCode. My question is, how can I configure the MA to display the values not as "magic numbers" or can MA get this feature?
    Regards,
    Alexander
    Kind regards, Alexander

    Hi Paul,
    please take a look to the attached picture. I've tried to make a comparison between automatically behavior of PerfView and Message Analyzer by displaying of the same performance log. The Message Analyzer got metadata, generated with wevtutil. The related
    part of the manifest is here:
    <tasks>
    <task name="ReadingFromGdb" value="1"/>
    <task name="LogReadPreInvoke" value="65532"/>
    </tasks>
    <opcodes>
    </opcodes>
    <keywords>
    <keyword name="Perf" message="$(string.keyword_Perf)" mask="0x8"/>
    <keyword name="Gdb" message="$(string.keyword_Gdb)" mask="0x10"/>
    </keywords>
    <events>
    <event value="8" version="0" level="win:Verbose" message="$(string.event_LogGdbReadPreInvoke)" keywords="Perf Gdb" opcode="win:Start" task="ReadingFromGdb" template="LogGdbReadPreInvokeArgs"/>
    </events>
    <templates>
    <template tid="LogGdbReadPreInvokeArgs">
    <data name="fullName" inType="win:UnicodeString"/>
    <data name="methodName" inType="win:UnicodeString"/>
    </template>
    I hope, it helps you to understand details of my questions.
    Regards,
    Alexander
    Kind regards, Alexander

  • MS Project - can you merge from a spreadsheet/access database based on task names?

    I'm wondering if it's possible to import data on certain tasks from a spreadsheet or access database. I know you can import tasks and append them, but I was hoping to:
    - Match a task name with the task name on the spreadsheet/access database
    - Update that task in MS project with information/fields in the spreadsheet/access database
    Can this be done? Thanks.

    Hi,
    In regarding the issue, my understanding is that you want to use Excel spreadsheet as database for the Project.
    I recommend you develop an import map that includes the key fields. Please refer to the link and do it step by step:
    http://www.techrepublic.com/blog/tech-decision-maker/importing-a-vendors-excel-schedule-into-microsoft-project/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If I misunderstanding something, please let me know and upload some sample about the Excel spreadsheet.
    Regards,
    George Zhao
    TechNet Community Support

  • Full information about DAQmx Task Name - How get?

    Labview 7.1 (information required for solve problem)
    I put in my application a DAQmx Task Name for fast configuration but i want put all information about task in a txt or spreadsheet file. But in Labview 7.1 haven't VIs like (http://zone.ni.com/devzone/cda/tut/p/id/3079):
    - DAQmx Info Query
    - General DAQmx channel Info
    - General DAQmx TEDS Info
    I'm using Analog Input (Voltage and Accelerometers) with several configurations and I need register all data of configuration to re-execute in the future or know about how acquisition data were gotten.
    I think that solve is in property nodes(DAQmx Task, DAQmx Channel, DAQmx Timing), but I believe will be hard work to make. Somebody has this working?
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science

    Sorry about that, I haven't checked if they were made only for LV 8 and later. Attached is a zip file with all the VIs converted to the version 7.1.
    Some of them were not successfully converted and are presenting fatal errors when opening, probably because they have something not available in 7.1. But I'm sending you anyways, because the three VIs you mentioned in your first post that you wanted, are working fine in LabVIEW 7.1.
    - DAQmx Info Query
    - General DAQmx channel Info
    - General DAQmx TEDS Info
    Please let me know if this is of any help for you or if I can do anything else in this case.
    Best Regards
    Andre Pereira
    Attachments:
    DAQmxTaskInfoQuery.zip ‏586 KB

  • Changing task name issues

    When we change a task name mid-project life, and then run a resource assignment query, we see tasks listed with the former task name. For example, orginal task name = "Finish part 4", updated task name - " Finish part 4 - job 655". 
    We update the task to 100% after the name change. When we run the assignment query, the task "Finish part 4" shows on the list with completion percentage of 0%. Do we have to rename the task to the original name and then update to 100%?

    Hi,
    What exactly do you mean by "assignment query" in MS Project langage? Assigning a resource on a task? Also which Project version do you use? 
    This should not happen, meaning that changing the competion pourcentage has no impact on the task name.
    Please give us more details so we can help.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Last Name within the Contact Parent actually reads "Task Name" when editing it

    I created a new contact type named New Hire for a workflow I am working on. The contact type was from existing group Core Contact and Calendar Columns. I noticed "Last Name" source is "Item" when all the other contact
    fields are "Contact". Then when I open it to change it from Optional to Required, the field actually shows "Task Name" for the Column Name. This is not right. Please let me know how to fix...
    How I got there…
    - Site Settings
    - Site Content Types
    - Created a new Contact Type named New Hire
    - Last Name is Item and not part of the type “Contact” like the others
    - And when I open up Last Name and Edit it, I see “Task Name"
    How can I fix this?

    Hi,
    Content types are organized into a hierarchy that allows one content type to inherit its characteristics from another content type. All SharePoint OOTB content type  inherits System content type. For detail, you can see that Item content type inherits
    System content type, Folder content type inherits Item content type, Document content type inherits Item content type and so on.
    Reference:
    https://support.office.microsoft.com/en-in/article/Introduction-to-content-types-and-content-type-publishing-a5026d23-8df8-42f6-b0d6-1920880c0d03?CorrelationId=d954de50-76c9-4003-81bb-49f3dfc68854&ui=en-US&rs=en-IN&ad=IN#__toc256601761
    As Contact content type inherits Item content type, Contact  content type inherit the Title column of Item content type. So Last Name is tied to Title.
    For your issue, Last Name should be the Title. Also you can create a separate Title field.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Mail 6.2 Can I make emails NOT group same senders emails together? Keeping read

    Mail 6.2 major issues for business users. Can we make emails NOT group previous emails from the same sender together? (you know it lists all the previous under it).  I have a number of customers who send us multiple emails per day. Because of the grouping, there are many times I cant tell what was read or not read. For instance, if I mark an email "Unread" to work on it later, that action just made everyemail in that group "Unread". Now I have the task of going through the last 20 emails and seeing what I printed/read already from that sender. Its contantly double work and confusion. In my office we have 4 of us with imacs all having the exact same issue in mail 6.2.  So what gives? There must be a way to stop previous emails from grouping into the most current email from sender. I am grateful for any assistance as google and bing are not giving me anything useful. 
    Thank you and best regards,
    JDM

    SOLVED from another wonderful post! I am just sick how easy it was. In the "View" there is a tab called "Organize by Conversation"  Simply uncheck this box and BAM its perfect just how we need our email set up as individual emails. Wonderful. 

  • Excel Pivot (molap) will not refresh from an SSAS box that is not part of the Farm

    I have spent hours trying to get this working going through many links.  One of the best ones is this.
    http://whitepages.unlimitedviz.com/2010/12/connecting-to-cubes-and-external-data-with-excel-in-sharepoint/
    However even after doing all of this it is still not working.  Here is my set up.  I have a sharepoint 2013.  I am trying to connect to my DW SSAS server that is on a different domain and not part of the farm.  Everything else seems to
    work but excel.  I have power view connecting and creating great reports with refesh working perfect.  I have performance point working.  I have Reporting Services working.  We installed adventureworks on the local SSAS farm version and
    excel is working with this and refreshed just fine.  I can ceate and excel report and save it to sharepoint but when I open it I get the famous error.
    An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:
    I can open in excel and then refresh all from excel and all works fine.  I do not want my users to have to go through this.  They should be able to use excel in sharepoint.  Any ideas on what I am missing.  I have tried to follow exactly
    what the link above says but still not working.
    Ken Craig

    The first article is checking to make sure power pivot is installed and local ssas is running. This could not be an issue since like I mentioned I can create a Excel report to the local farm version of ssas and it opens and refreshed fine.  That
    would mean that power pivot is installed and the services are running right:)?
    The second article I have done over and over and I am pretty sure this works.  Again I can export to excel and it works just fine meaning my Data source is valid right?  yes I have chosen "none" as well.
    The third article talks about the different viewers.  Mine is using
    xlviewer.aspx so I would assume this is not the issue. 
    Here is what I am seeing in the logs but I am not sure what they are saying.  I used uls view somewhat like you would profiler. I started it tried to open excel and then stopped it.  Below are logs that look like they pertain to this action.
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N,
    connectionString=Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Data Source=BIL-BIRSTDB\ASADMIN;Initial Catalog=Ecomm OLAP pool count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'BIL-BIRSTDB_ASADMIN Ecomm OLAP Report' in the workbook 'http://eagleviewportal/BusinessIntelligenceCenter/Templates/Ecomm Report Power Pivot Default.xlsx'. [Session: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N
    User: 0#.w|hqeagleview\ken.craig]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, ConnectionRequest connectionRequest, ExternalDataScenario scenario, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Int64
    privateConnectionId, Boolean shouldReportFailure, Connection& connectionOut). sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, externalSource=BIL-BIRSTDB_ASADMIN Ecomm OLAP Report
    ExternalDataUtility.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException'
    was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String connectionName, ExtendedConnectionInfo extendedConnInfo, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalDataUtility.GetExtendedConnectionInfo(IExternalDataObject extObject, ConnectionInfoManager connectionInfoManager, Request request, Int32 externalSourceIndex, Boolean ignoreErrors, ExternalDataScenario
    scenario, Exception& lastException, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.GetConnection(ExternalKey externalKey, Int32 externalSourceIndex, ExternalQueryKey externalQueryKey, ConnectionRequest connectionRequest, Int64 privateConnectionId, ExternalDataScenario scenario,
    Boolean prepare), Data Connection Name: BIL-BIRSTDB_ASADMIN Ecomm OLAP Report, SessionId: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, UserId: 0#.w|hqeagleview\ken.craig
    Ken Craig

  • Applescript & Outlook; make new contact

    Hi all,
    I'm working on an Applescript that will allow me to create a new contact in Outlook.
    This is what I have thus far based on some old Entourage code and the Applescript Outlook dictionary:
      tell application "Microsoft Outlook"
      activate
      make new contact with properties {display name:displayName, home street address:theAddress, home city:city, home state:theState, home zip:zip, phone:thePhone}
      quit
      end tell
    Alas, it fails and tosses back an Event handler error.
    Any thoughts?
    -Julian

    Try this --
    set FirstName to "Barack"
    set LastName to "Obama"
    set theAddress to "1600 Pennsylvania Avenue NW"
    set city to "Washington"
    set theState to "DC"
    set zip to "20500"
    set thephone to "(202) 456-1111"
    set jobtitle to "President of the United States"
    tell application "Microsoft Outlook"
    activate
              set mycontact to make new contact
    open mycontact
              tell mycontact
                        set properties of mycontact to {first name:FirstName, last name:LastName, home street address:theAddress, home city:city, job title:jobtitle, home state:theState, home zip:zip, phone:thephone, email addresses:{{address:"**** --> (my guess)", type:work}}}
              end tell
    end tell
    I changed the name property from display name to first name last name. As default, what is display name uses first/last. To get other contact properties I asked a script to get the properties of a contact. That is how I got the email address part.
    <Email Edited By Host>

  • A device which is not part of this management group has attempted to access this Health Service.

    Has anyone found an answer to this yet?  I have uninstalled/reinstalled the agents both manually and through the push. Rebooted the client, rebooted the  sce server. Forced the group policy to reapply, forced the health agent to /reportnow and I still get the error. The client shows up under the agent managed section but under the health state column it shows not monitored. The clients can ping the SCE server by FQDN and RDP to it as well so name resolution is working fine.
    On the the SCE server I get this in the log
    Event Type: Information
    Event Source: OpsMgr Connector
    Event Category: None
    Event ID: 20000
    Date:  6/25/2009
    Time:  10:09:40 AM
    User:  N/A
    Computer: *******
    Description:
    A device which is not part of this management group has attempted to access this Health Service.
    Requesting Device Name : *****
    And this
    Event Type:            Information
    Event Source:           OpsMgr Connector
    Event Category:       None
    Event ID: 21042
    Date:                        6/25/2009
    Time:                       10:25:14 AM
    User:                        N/A
    Computer:                ***********
    Description:
    Operations Manager has discarded 1 items in management group Servername_MG, which came from $$ROOT$$.  These items have been discarded because no valid route exists at this time.  This can happen when new devices are added to the topology but the complete topology has not been distributed yet.  The discarded items will be regenerated.
    On the client I get
    Event Type: Error
    Event Source: OpsMgr Connector
    Event Category: None
    Event ID: 20070
    Date:  06/25/2009
    Time:  10:06:13 AM
    User:  N/A
    Computer: ******
    Description:
    The OpsMgr Connector connected to ****** but the connection was closed immediately after authentication occured.  The most likely cause of this error is that the agent is not authorized to communicate with the server, or the server has not received configuration.  Check the event log on the server for the presence of 20000 events, indicating that agents which are not approved are attempting to connect.
    And this as well
    Event Type:            Error
    Event Source:           OpsMgr Connector
    Event Category:       None
    Event ID: 21016
    Date:                        06/25/2009
    Time:                       10:06:18 AM
    User:                        N/A
    Computer:                ******
    Description:
    OpsMgr was unable to set up a communications channel to **** and there are no failover hosts.  Communication will resume when ******* is both available and allows communication from this computer.
    And this
    OpsMgr has no configuration for management group Servername_MG and is requesting new configuration from the Configuration Service.

    Hey Nathan,
    Yea I have sent the script to eveyone that has aked for it. I dont know if its helped anybody else as none has given me any feedback either way.
    I guess I can post it here for everyone to use.
    Please keep in mind that if you use this script from MS its at your own risk, If your DB blows up, massive catastrophic failure ensues and so forth ITS YOUR OWN FAULT. MAKE SURE YOU HAVE GOOD BACKUPS
    Step 1) Run this against your SCE 2007 DB
    DECLARE @BaseManagedEntityInternalId int
    DECLARE @BaseManagedEntityId uniqueidentifier
    DECLARE @ViewName sysname
    DECLARE @Statement nvarchar(max)
    SET @BaseManagedEntityInternalId = 0
    WHILE EXISTS (SELECT * FROM BaseManagedEntity WHERE (BaseManagedEntityInternalId >
    @BaseManagedEntityInternalId))
    BEGIN
    SELECT TOP 1
    @BaseManagedEntityInternalId = bme.BaseManagedEntityInternalId
    ,@BaseManagedEntityId = bme.BaseManagedEntityId
    ,@ViewName = met.ManagedTypeViewName
    FROM BaseManagedEntity bme
    JOIN ManagedType met ON (bme.BaseManagedTypeId = met.ManagedTypeId)
    WHERE (bme.BaseManagedEntityInternalId > @BaseManagedEntityInternalId)
    AND (bme.IsDeleted = 0)
    ORDER BY BaseManagedEntityInternalId
    SELECT @Statement = 'IF NOT EXISTS (SELECT * FROM ' + QUOTENAME(@ViewName) + '
    WHERE BaseManagedEntityId = ''' + CAST(@BaseManagedEntityId AS varchar(50)) + ''')
    PRINT ''' + CAST(@BaseManagedEntityId AS varchar(50)) + ' ' + @ViewName + ''''
    EXECUTE(@Statement)
    END
    STEP 2) 
    If your problem was the same a mine you should get some GUID’s returned.  (For example 93790c0B-09C4-3A4D-CE72-F4E3Dd917D78 MTV_DeploymentSettings)
    Using the GUID that we got in the output file
    Execute the below given query:
    ==========================
    select fullname
    from basemanagedentity
    where basemanagedentityid = ‘<GUID>’
    ==========================
    Verify that the device or the object mentioned in the above output is not displayed in Operations console.
    Only in case if the object is not displayed then use the below given query to delete it from database.
    ==========================
    update basemanagedentity
    set isdeleted = 1
    where basemanagedentityid = ‘<GUID>’
    ==========================
    Before executing the above query please ensure that you have the backup of the database. Also note that you need to run the above said query only incase if you do not see the object in the Operations console.
    After executing this query, run this stored procedure:
    ==========================
    exec p_Detectandfixinstancespaceinconsistencies
    ==========================
    Once it is done:
    > Stop all the three OpsMgr services: health, Config and SDK on Management Server
    > Cleared the health service state folder.
    > Start all the three OpsMgr services: SDK, Config, and health on Management Server.
    > Wait for 30 minutes and see if the agents start getting monitored.
    I hope this helps everyone

  • I am unable to print only the first few lines of an e-mail. Also, it will then print in a very small type and will also include extraneous information on the screen that are not part of the e-mail. Is there anything I can do about this annoying problem?

    I can only print the first few lines of an e-mail, even when it is on "Full View" on my screen. Moreover, it prints with very small print that is hard to read and also contains additional material on the screen that is not part of the e-mail.
    == This happened ==
    Every time Firefox opened
    == Since the first day I started using Firefox

    I talked to Adobe Support tonight and found this issue to be a known problem with some of the Adobe Cloud products when using older hardware, in this case the C782.
    So, we found a workaround. Unfortunately the work around isn’t efficient and adds more steps to their normal printing routine
    Open InDesign and create, modify delete the card
    Select FileàExport
    A window will appear. Pick the location you wish to save the file
    Once the File is saved another window will appear
    “EXPORT Adobe PDF”
    An Export to Adobe PDF window will appear. Accept all defaults. MAKE CERTAIN “VIEW PDF
    After EXPORTING” is CHECKED
    Select Export
    Once EXPORT is complete the file will open automatically in Adobe Acrobat
    Most likely the screen will be very large
    Select the + - sign at the top of the page to adjust the page size to view the image
    Select FileàPrint
    The Print window will appear
    Select the printer from the drop down
    # of COPIES is just below Printer
    Select OK
    I hope this helps anyone who is having similar issues
    Thanks

  • How to Determine Task Key based on Task Name?

    Hi all, I'm trying to implement addProcessTaskInstance and I can't seem to dynamically obtain the task key. I want to find this based on the task name since this will be consistent through environments, but due to multiple development streams going on at once I can't be guaranteed that the task key will be the same in each in environment (i can be guaranteed it won't be actually). I'd rather not hard code the key in a variable in each environment if I can avoid it.
    Thanks,
    Ryan

    Hi Ryan,
    you could also use api to retrieve the task key.
              HashMap map = new HashMap();
              map.put("Process Definition.Tasks.Task Name", your_task_name);
              tcResultSet localtcResultSet = tcUtilityFactory.getUtility(tcDataProvider, "Thor.API.Operations.TaskDefinitionOperationsIntf").getTaskDetail(your_form_key, map);
              taskKey= localtcResultSet.getLongValue("Process Definition.Tasks.Key");
    This would be slower than database query though.
    Regards,
    Ece

Maybe you are looking for

  • Create external window with webdynpro application

    Hi, is it possible to create an external window with another application? The method if_wd_window_manager~create_window_for_cmp_usage would be great. But this method create only a modal popup. Greetings Marcus

  • How can I allow possible registrants to fill our a form on facebook?

    Does anyone know how I can allow access to this form to anyone on Facebook or by email?

  • OSX Yosemite Wifi FIX!!

    I found a way to fix the wifi issue on my iMac which i upgraded from maverick to Yosemite OSX. I got fed up with all the fixes that didn't fix the problem so I opened app store and re-downloaded Mavericks.. I noticed that for two hours my wifi didn't

  • Class cast exception instantiating class

    I have a class A which implements interface B. Interface B in turn extends interface C (which has no methods) I want to use Class.forName to create a new instance of class A and then cast it to an instance of C...should this be possible? When I try i

  • Can I sell old versions of photoshop?

    Is it possible to sell old versions of photoshop I've purchased over the years? I'm assuming I'd need to notify Adobe regarding license #, etc..