Get Folder Status activity?

Hello guys,
Is there an activity similar to the Get File status one? The thing I'm trying to do without having to resort to a PowerShell script is the following:
I give a top level folder (for example C:\Temp) and I want the Runbook to look for a folder in one of the subdirectories called $tmp$ and delete it.  I've tried using the Monitor Folder activity however it only gives me the "Origin Folder"
(C:\temp) as published data and not the folder it actually triggered on.
Thanks in advance!
Yannick

Hi Stefan,
Thanks again for the answer. That solution works fine. I tried doing it without a .Net script activity because not everyone here can decipher code that well... But I suppose a single line of Powershell shouldn't be a challenge for a hardened IT-guy
:) ... In any case I think a standard installation of the Orchestrator can't do something similar out of the box using other activities... I have seen some IP's that implement a "Get Subfolder" activity though but I can't get 'em to work (I
think they're created for an older version of Orchestrator).
Regards,
Yannick

Similar Messages

  • Get actual Status of an activity which is displayed at WebUI

    Hello experts!
    I would like to know, how I am able to get the status which is displayed when I open a task with the WebUI (Like open, closed...)
    I already know how to get the status of an activity, but I always get about 5 ? How should my program know, which one is the right one?
    Greetings,
    littlesam

    Hi,
    Use the below query to get Activity status.... (INACT <> X is the main thing to note in your case)
    select single a~STAT b~TXT30
          FROM CRM_JEST as a INNER JOIN TJ30T as b
          ON a~STAT EQ b~ESTAT into (lv_stat,wa_output-STATUS_TXT)
          WHERE b~STSMA = wa_proctype-USER_STAT_PROC AND
                b~spras = `EN` AND
                a~objnr = wa_activity-guid and
                a~INACT NE `X`.
    Regards,
    Ravikiran
    [My Articles|http://www.divulgesap.com/profile.php?u=Mg==]

  • There is any fm to get employee is active / not (status)

    there is any fm to get employee is active / not (status)

    Look at prog : RPCSOCPX
    FM
    CALL FUNCTION 'HR_PT_CHECK_EMPLOYEE_ACTIVE'
           EXPORTING
                ENDDA        = P_ENDDA
                BEGDA        = P_BEGDA
                REL_PER      = P_FLAG
           IMPORTING
                FL_ACTIVE    = P_ACTIVE
           TABLES
                AB           = P_ABAUX
                WPBP         = P_WPBPAUX
           EXCEPTIONS
                AB_NOT_CLASS = 1
                OTHERS       = 2.
    OR HR_ECM_TEST_EE_IS_ACTIVE
    OR
    CALL FUNCTION 'CATS_CHECK_EMPLOYEE_ACTIVE'
           EXPORTING
                PERNR            = PERNR
               date             = date            (DEL)YIKP45K046668
                 BEGDA            = DATE                "YIKP45K046668
                 ENDDA            = DATE                "YIKP45K046668
           EXCEPTIONS
                PERNR_NOT_FOUND  = 1
                PERNR_NOT_ACTIVE = 2
                OTHERS           = 3.
    Good luck !
    Khan

  • Can BPEL Email/SMS activity get delivery status from UMS???

    While implementing to send SMS/Email using BPEL service, does BPEL service gets delivery status back from UMS? If yes, how?
    Below UMS documentation indicates UMS makes delivery status available to application.
    Robust message delivery: UMS keeps track of delivery status information provided by messaging gateways, and makes this information available to applications so that they can respond to a failed delivery. Or, applications can specify one or more failover addresses for a message in case delivery to the initial address fails. Using the failover capability of UMS frees application developers from having to implement complicated retry logic.
    Thanks In Advance
    Priyadarshi

    Hi Priya,
    In our case, with respect to the SMS interface, whatever SMS server that we are using should have a specific set of documentation listed with respect to the different status of the message delivery. We have handled that using the java embedding activity and then updated the DB records accordingly.
    Coming to the Email services, am not completely sure if there is one. However we can monitor the same using the EM console itself.
    Thanks,
    Deepak.

  • View for active Incidents related to WI (Problem) with status (Active) works but can't be changed.

    Hi,
    I wanted to create a view of Incidents which are linked to a Problem (any problem).
    I did a quick test using the Incident (advanced) class, selected to display Incidents with status Active and [Work Item] Is Related To Work Item and status for Problem with the status Active.
    At this first test I didn't bother to select any specific columns to display but just went with the pre-selected ( Description, Display Name, Display Name) and it worked. 
    I got a list of expected Incidents in the view but having the Description column made it quite useless.
    So, when I try to select the columns I find useful it will not update and it returns a No items found message instead.
    (image removed due to limitations)
    It is of course possible to group by one of the Display Name fields and collapse to get a more workable view but it still lacks a lot of good information. One would like to include ID, title, Created date,
    date modified, Display Name for Affected User and Assigned to user, and a few others.
    I was just a bit stumped as to why this fails when changing the columns on a view that obviously is possible to create.
    Thanks in advance,
    Daniel

    Consider using the Advanced View Editor( or
    the free edition), since it has much more robust criteria and column editing capabilities. 

  • "unable to get printer status" and "server-error-not-accepting-jobs"

    I've got an Intel Mac Pro with Tiger. When I accepted the latest update from Apple, I lost all my defined printers! I've re-added a local USB printer and a networked Laserjet - fine. But I also added a Phaser 850 color printer (networked) which used to work fine. It connects ok, and opens the printer queue window, but when it tries to print, it says "Unable to get printer status (server-error-not-accepting-jobs". The queue stays active (not stopped) but the jobs don't move. I've tried deleting the printer and re-making it - same deal. What's going on?
    Mike

    Hi Mike,
    One think I really dislike about OSX is the Rocket Science needed to just Print!
    Might try these two...
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    Might try Printer Setup Repair 5.1...
    http://www.fixamac.net/software/index.html

  • How to get the user active stauts in jspdynpro

    How to get the user active status in jspdynpro.
    I want check weather a user is active or not (Collaboration Launch Pad functionality)
    in jspdynpage.
    Thank's in advance,
    Mr.Chowdary

    Hi Eddy,
    Here the scenario is to get the data of a field from the user defined table to pass the extracted values as a input to the XL reporter, which will be selected while generating the report.
    It would be great if you provide any solution for this problem.
    Thanks.

  • I get the imessage activation code but nothing happens

    Hello
    im trying to activate imessage, i get the status as "waiting for activation", after an hour or so i got sms from a number starts with 4477 with some programming text and that's that, nothing happened and the status still shows "waiting for activation"
    note: i can send imessages but im not getting any, my friends tried several times from several accounts and still the same.
    any suggestions please.

    That SMS shows that you must not be connecting with the iMessage servers in the UK. Where are you located? Are you using a supported carrier for the iPhone? Normally, supported carriers can send this SMS with no problem, or no cost, but you need to have a texting plan. Check this support document for more help with activation problems. iOS: Troubleshooting FaceTime and iMessage activation

  • Issue using Get-DatabaseAvailabilyGroup -Status Exch 2010

    When trying to use this CMDLET (Get-DatabaseAvailabilyGroup -Status) on Exch 2010, I get a powershell error message:
    A server-side administrative operation has failed. The Microsoft Exchange Replication service may not be running on ser
    ver mail02.domain.local Specific RPC error message: Error 0x6d9 (There are no more endpoints available from t
    he endpoint mapper) from cli_GetDagNetworkConfig
        + CategoryInfo          : NotSpecified: (0:Int32) [Get-DatabaseAvailabilityGroup], ReplayServiceDownException
        + FullyQualifiedErrorId : 749A084,Microsoft.Exchange.Management.SystemConfigurationTasks.GetDatabaseAvailabilityGr
       oup
    What I don't understand is this server that it's referencing is the witness server to the DAG and SHOULDN'T have this service installed.  Has anyone run into this issue before, and if so, how did you fix it?  I have not tried rebuilding my DAG
    thus far.
    Thanks for any input.
    Thanks, Jeffrey - Infrastructure Administrator

    Hi,
    Have you checked Jared Van Leeuwen's suggestions? Is there any update?
    The Status parameter instructs the command to query Active Directory for additional information, and to include real-time status information in the output. Please add the DomainController parameter to specify a domain controller to retrieve data to check
    the result.
    If you have multiple DCs in your environment, please make sure there is no replication issues.
    If the issue persists, could you please use the ExBPA to check against your Exchange server health?
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Belinda Ma
    TechNet Community Support

  • How to get the status of the backgroud job?

    Hi all,
    I have a job, there are two steps. I have checked in the table TBTCP, the status is always 'P', which means:job step scheduled, even the step is finished. How can we get the status of every step? Many thanks in advance!

    try FM  BP_JOB_STATUS_GET
    but Table TBTCO(field-status) gives the status of the job i.e whether scheduled,released,active,finished,ready or terminated job.
    check  following tables
    <b>TBTCJSTEP - Background Job Step Overview
    TBTCO - Job Status Overview Table
    TBTCP - Background Job Step Overview</b>
    Message was edited by:
            Vasu G

  • How to get the status of MessageBridge STATUS consistently?

    Hi
    I am using Mbean to get the status of messaging Bridge.
    try {
    Iterator iterator = localHome.getMBeansByType("MessagingBridgeRuntime").iterator();
    while (iterator.hasNext()) {
    MessagingBridgeRuntimeMBean bridgeInfo = (MessagingBridgeRuntimeMBean)iterator.next();
    if (bridgeInfo != null && bridgeInfo.getName().indexOf(bridgeName) > 0 )
    return bridgeInfo.getState();
    } catch (Throwable e) {
    e.printStackTrace();
    System.out.println("Exception Occured " + e.getMessage() );
    If MessageBridge is active, i am not consistently getting the same status. I am getting active. when i ask second time it is returning ""(blank). But when i refreshed using admin console, i will again get the correct status.
    Please help me to resolve this issue.

    Hi
    I am using Mbean to get the status of messaging Bridge.
    try {
    Iterator iterator = localHome.getMBeansByType("MessagingBridgeRuntime").iterator();
    while (iterator.hasNext()) {
    MessagingBridgeRuntimeMBean bridgeInfo = (MessagingBridgeRuntimeMBean)iterator.next();
    if (bridgeInfo != null && bridgeInfo.getName().indexOf(bridgeName) > 0 )
    return bridgeInfo.getState();
    } catch (Throwable e) {
    e.printStackTrace();
    System.out.println("Exception Occured " + e.getMessage() );
    If MessageBridge is active, i am not consistently getting the same status. I am getting active. when i ask second time it is returning ""(blank). But when i refreshed using admin console, i will again get the correct status.
    Please help me to resolve this issue.

  • How to get folder size in bytes

    Hi all,
    Is there a easy way to get folder size in bytes?  I don't want to check each file in it and then add them up.
    Thanks for any help.
    Anne

    Years ago, I found my home PC was lacking disk space and could not exaplain where all of the space went.
    At the same time I was teaching myslef how to use the Picture control and Windows did not allow you to check the size of a folder and it sub-folders. So I used that situation to learn about the picture control and LV at the same time.
    It worked and ran but very slowly.
    Soon after Greg McKaskle was putting together the first version of "The Good The Bad and The Ugly" and was looking for fodder to beat up. I offered and he accepted. When the time came for the presentation, my code was chosen as "The bad" since I had not learned how to do a cluster sort at that time so I wrote my own version of a bubble sort (the VI presents a Pie Chart of disk usage and clcik on the sectors of the Pie Chart allowed you to drill down so I hd to sort by sizes).
    So why am I telling you this long boring story?
    That code is attached for you to look at laugh and tell me how dumb I was.
    Feel free to beat me up. It can't be any worse than the abuse I got from Greg (I felt like I was being raped).
    Have fun!
    Ben
    Code is probably 6 or thereabouts. "Disk_Utility" is top level. Remember this is an example of how NOT to code.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    DIsk_Pie_Utility.zip ‏162 KB

  • Get number of active instances for an orchestration using WMI

    I would like to get number of active, ready to run and dehydrated instances for an orchestration in my master orchestration. How can I do this using WMI?
    Thanks in advance!!

    I have done it recently...its quite simple...
    You can use System.Management in a helper library and create a helper method to implement this ->
    int instanceCount = 0;
    ManagementObjectSearcher searcher = new ManagementObjectSearcher("root\\MicrosoftBizTalkServer", "SELECT * FROM MSBTS_ServiceInstance WHERE ServiceName='<name of your orchestration>'");
    foreach (ManagementObject queryObj in searcher.Get())
    //Count for Active, Ready To Run and Dehydrated
    if (queryObj["ServiceStatus"].ToString() == "1" || queryObj["ServiceStatus"].ToString() == "2" | queryObj["ServiceStatus"].ToString() == "8")
    instanceCount = instanceCount + 1;
    return instanceCount;
    You can pass your orchestration name as a parameter to this method. Additionally you can modify the if conditions to include/exclude instance status.
    Make sure to verify the syntax before you use it!!

  • How to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    how to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    You can use third party software True Last Logon 2.9.You can export the file in excel for report creation.You can use the trial version this will achieve what you are looking for.
    True Last Logon displays the following Active Directory information:
    --Users real name and logon name
    --Detailed account status
    --Last Logon Date & Time
    --Last Logon Timestamp (Replicated value)
    --Account Expiry Date & Time
    --Enabled or Disabled Account
    --Locked Accounts
    --Password Expires
    --Password Last Set Date & Time
    --Logon Count
    --Bad Password Count
    --Expiry Date
    --You can also query for any other attribute (Example: Description, telephone Number, custom attibutes etc)
    Refer the below link for trial version:
    http://www.dovestones.com/products/True_Last_Logon.asp
    Best Regards,
    Sandesh Dubey.
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
    My Blog
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • I would like to monitor execution Status/Activity?

    I want to monitor for activity or lack there of in the MainSequence. I am thinking that I want to launch a New Sequence in the same Thread, but I am not clear on what Property/Method will expose a change that I can monitor? Thanks...

    Jacy,
    When you launch a new sequence in the same thread, you are actually changing control to the new sequence from the calling sequence. So, in your case, monitoring the MainSequence after calling NewSequence in the same thread would not give us any new information because nothing in MainSequence would change.
    If you decide that you could launch the new sequence in a new execution, then you would have two sequences being executed simultaneously that you could monitor one from the other. If this sounds like what you are trying to do, I would recommend taking a look at the Knowledge Base How Can I Get the Status of Another Sequence Execution?
    If you'd like, yo
    u could also try to use the Synchronization Step Types, specifically the Notification Step Type, to notify another thread or execution that you have achieved some status that you choose. The Notification and Queue Step Types together are especially useful for passing data. The Synchronization Step Types are discussed in the TestStand User Manual(TestStand User Manual March 2001).
    If you have any questions after reading the information above, let us know!
    Shannon Rariden
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Creating a panorama, for use on a tablet (HTML5/CSS3/JS/PhoneGap/CS5.5)

    I'm looking for a way to do a panorama image that the user can simply drag left/right to pan the image and view around the panorama. Without a cursor this is becoming a bit difficult. Looking for some javascript/phonegap/jquerymobile/cs5.5 tips that

  • Good way to trigger exit event for VI's loaded in subpanels?

    Sorry if this is a novice question, but I haven't gotten much traction searching for an answer the last couple days. I have a setup that uses remote panels for an interactive "lab."  The panel loads a reentrant VI that is just a tab control, the fron

  • Command+tab is autolooping

    When I use command+tab to switch programs the focus is circling through the open programs by itself (I'm not holding tab - only command). I can't get it to stop and hovering with the mouse over the desired program only makes the loop start over from

  • Copying files to DVD+R

    I have a macbook and am using some DVD+Rs to back up some files. Every time I drag files to the DVD it only makes a shortcut copy and not a regular copy. Therefore I've had to actually push the copy button and paste each file onto the DVD. That then

  • Array Declaration - SCJP - WHY?

    class MWC212 {   public static void main(String[] args) {     int[] a1[],a2[];  // 1     int []a3,[]a4;    // 2     int []a5,a6[];    // 3     int[] a7,a8[];    // 4 }}A compile-time error is generated at which line? a.      1 b.      2 c.      3 d.