How to query on User object in a workflow ?

Hi experts,
I want to email users 1 week before the password expired.
For this Icreate a workflow in which I will query for the users who will expire in x days.
My problem is that the field on which I want to query (Waveset Password Expiration date ) is not an attribute thus I think that's not possible to set it as queryable attibute.
My question is :
How can I query users based on the "paswordExpiry" ????
Would be appreciate if you can help me .

Try to make use of the deferred task...
The description goes below how implement it....
While creating the user add a deferred task .
Here there are 2 things to Remember.
1) The task which u want to run (here which sends emails to the User)
2) the Date on which u want to run this task as a deferred task.
So give the task name as the task which will be able to send emails to the users.
and for the date( when u want the deferred task should run) calculate the date from the Users attribute passwordEpiry (i.e subtract one week from the User attribute passwordExpiry , U can access this attribute by cheking out the User view and then checking in)
And finally schedule the deferred task scanner to be run everyday at some particular time to run the deferred task( i.e sending Emails task)
So that no need of any manual interaction now..
I believe this will solve ur purpose,If u get any doubt again post a reply for this mesg ok

Similar Messages

  • How to get the user objects?

    Dear all,
    How to get all the user objects?
    i am using Select * From user_objects
    but it gives me some tables which belongs to oracle such as 'BIN$ZKjpvXfMSOShDJUjxzmiiw==$0' and i do not want these tables to be viewed.
    is there any way to avoid those tables from the query?
    Thanks in advance

    Objects in the database started with "BIN$" could be the dropped objects. If you don't bother about dropped objects, then you can purge them.
    SQL> connect test/test
    Connected.
    SQL> select object_name from user_objects;
    OBJECT_NAME
    TEST1
    TEST2
    SQL> drop table test1;
    Table dropped.
    SQL> select object_name from user_objects;
    OBJECT_NAME
    BIN$OEc6JHt+Rq+LDaTR1U8O7g==$0
    TEST2
    SQL> select OBJECT_NAME,TYPE,ORIGINAL_NAME from user_recyclebin;
    OBJECT_NAME TYPE ORIGINAL_NAME
    BIN$OEc6JHt+Rq+LDaTR1U8O7g==$0 TABLE TEST1
    SQL> purge recyclebin;
    Recyclebin purged.
    SQL> select object_name from user_objects;
    OBJECT_NAME
    TEST2
    Regards,
    Sabdar Syed.

  • How to delete all users (objects) in 9i database?

    Hi friends:
    I did a full database exp/imp for a dev database, before imp, I need to delete all objects in the old dev database, I know delete one user is
    drop user user_name cascade;
    how about all users (objects)???? in 9i database
    thank you very much

    Hi,
    I will use
    select ' drop user ' ||username|| ' cascade;' from all_users where username not
    in ('SYS','SYSTEM', ‘DBSNMP’);
    Is there any other users I don't need to drop off besides the above three ones?
    thank you very much

  • User Object - Where can I find the info?

    Hi,
    I have been browsing through the ALI doc's however I cannot seem to find any information on the various objects that are presented in ALI.
    In particular I want to find out what is being returned when I query the user object or a session etc?
    Thanks in advance,
    Tahir

    Java:
    http://edocs.bea.com/alui/devdoc/docs60/References/API_Libraries/server/javadocs/index.html
    .NET:
    http://edocs.bea.com/alui/devdoc/docs60/References/API_Libraries/server/ndocs/index.html
    Edited by Bryazgin at 09/29/2007 9:58 AM

  • User object & business query

    Post Author: yoav
    CA Forum: Migration to XI R2
    I hope i am not asking again this question but i haven't found a thread here is the forum,so here goes : Does user objects migrate as well using the import wizard ? if so how ? Do business query reports migrate to live office ? thanks in advance Yohab

    Post Author: yoav
    CA Forum: Migration to XI R2
    I hope i am not asking again this question but i haven't found a thread here is the forum,so here goes : Does user objects migrate as well using the import wizard ? if so how ? Do business query reports migrate to live office ? thanks in advance Yohab

  • How to bind a user selected value to a view object bind variable?

    Hi
    I have two pages in ADF BC application. In the first page ,i will give a drop down menu to user which displays all the table names in my databse.
    when the user selects a table and goes to the second page..he should be given a menu or a check list of all the columns in the user selected table....
    to display the columns i have used the query
    Select COLUMN_NAME from user_tab_columns where table_name = : table_name in the view object.
    now how to bind the user selected table value in the first page to the table_name bind variable in view object ?
    thanks
    swathi.

    Hi,
    depends on how the select box is implemented. With ADF and ADF Faces, the default value selection is the list index. In a value change listener you could look up the selected value from the underlying iterator. Store this value e.g. in a session attribute and point the NDValue of the ExecuteWithParams operation to #{sessionScope.your_attribute}
    Frank

  • How to prevent end user to create a Query View and save back to BW Server?

    Dear All :
    Do Someone know that how to setup authorization for Bex Query View Creation? We want to prevent end user to create a Query View to save back to BW Server his favorite folder. when our user run Bex Query, he can base on this query and use Bex Analyzer's save function to save a Query View and save into his favorite folder.
    My question is :
    1. Can we set up a Authorization to prevent end user to save Bex Query View?
    2. Or can I remove Save function from Bex Analyzer to prevent end user use save function, But Developer should not to be prevent .
    Thanks for all of your kindly response.
    Best Regard
    Lawrence Kuo

    Hi.
    Yes, you can do it like you outline in your point 1):
    You need to use the authorization object S_RS_COMP for this. This object let's you control what parts/components of a query the user can do stuff to. So, in your case, you need to have a role for the users, where you do not grant create-access to the component QVW, and then you need another role for developers, where you grant full access or whatever you need for your developers.
    See [this post|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a6c54319-0e01-0010-20a4-fb81ad32f330?QuickLink=events&overridelayout=true&5003637661135] and the [SAP Help entry|http://help.sap.com/saphelp_nw70/helpdata/en/80/1a6859e07211d2acb80000e829fbfe/content.htm].
    You will also need to use the authorization object S_RS_COMP1. If you already have a productive system with users doing reporting, both objects will be maintained in one of the roles already.
    You also want to consider using the object S_RS_PARAM to allow users to create variants for the variabel screen.
    Good luck.
    Jacob

  • Is Active Directory's ExtensionAttributes9 a field in user object and how to retrieve it in the class type userprincipal?

    Hi, I'm using VS2012.
    I want to use this ExtensionAttributes9 field to store date value for each user object.  I use UserPrincipal class, a collection of these objects are then bind to a gridview control.  Is ExtensionAttributes9 a field in AD user object? 
    How can I access it and bind to the gridview?
    If this field isn't available then what other field can use?
    Thank you.
    Thank you

    UserPrincipal is basically a wrapper around DirectoryEntry:
    http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry.aspx and only provides a subset of the Active Directory, although the most common, attributes that are available for the user object.  The attribute that you
    seek is not one of them.
    By utilizing the method that I provided you a link to, it will return the underlying DirectoryEntry that was used to build the UserPrincipal object and should allow you to access the attribute that you seek.
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • How to activate all inactive objects for current user

    Hi
    How to activate all inactive objects for current user ...
    ... I have found a (long winded) way to do this:
    - Environment / Inactive Objects
    - Add to Worklist
    - Display Worklist
    - Select All
    - Activate
    this will open a dialog titled "Inactive Objects for <username>"
    which has the exact functionality I need ... but I can't figure out how to get to this dialog directly - without so many intermediate steps
    the SAP docs repeatedly mention the ability to activate the inactive worklist - but do not mention how
    does anybody know the TCode for this dialog?
    thanks
    ps does the term "mass activation" apply to importing change requests rather than development activation?
    Edited by: FireBean500 on Jun 4, 2010 11:07 PM

    No other way. But usually it's far more simple as all objects are already in our own worklist.
    I wonder why your objects are not already in your worklist, as everytime you create or maintain an object, it is added to your worklist.

  • How do I get the value of a resource property stored in the user object?

    I need a way to get to the myflag property on the resources in an object
    I have been trying to get to it by first getting the user object...
    but how can I get to the properties them self?
    If the following is the user object and I need to refer to the different myflag properties in a form?
    What I want to do is to make the system NOT change password on accounts where the myflag is set to true
    Anyone that could point me right here?
    I use the following code to get the userObj in the form...
          <Field name='userObj'>
            <Derivation>
              <invoke name='getObject'>
                <ref>:display.session</ref>
                <s>User</s>
                <ref>resourceAccounts.id</ref>
              </invoke>
            </Derivation>
            <Disable>
              <isnull>
                <ref>resourceAccounts.id</ref>
              </isnull>
            </Disable>
          </Field>And the resulting userObj looks like this
    <!--  MemberObjectGroups="#ID#Top" hasCapabilities="true" id="#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD" name="43725"-->
    <User id='#ID#BAF7-:882E9B73531:87D587F7-:726EA99B2E0A89CD' name='43725' creator='Nnnnn' createDate='1328101309098' lastModifier='Nnnnn' lastModDate='1352128262380' lastMod='71' repoMod='1352128262383' primaryObjectClass='User' password='xxx' lastPasswordUpdate='1352128195038'>
      <Services>
        <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
      </Services>
      <PasswordExpiration>2012-11-04T15:09:55.038Z</PasswordExpiration>
      <ResourceInfoList>
        <ResourceInfo accountId='cn=S43725,ou=Xolid Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=3c020b6e1c253d45808fc47889201c4a&gt;' tempId='dc98a0e2b99ae627:-3984a159:139b34ea14f:-4c10' created='true' lastPasswordUpdate='1352128262115'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='false'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
        <ResourceInfo accountId='cn=S43725A,ou=Administrative Users,ou=User Accounts,dc=adxx,dc=xxx,dc=net' accountGUID='&lt;GUID=fc4ca613bf40b644948cf216e1ec50bd&gt;' tempId='dc98a0e2b99ae627:-4ce08fd6:13a5c68dd38:4fc4' created='true' lastPasswordUpdate='1352128262285'>
          <ObjectRef type='Resource' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FE1' name='Xolid'/>
          <ResourcePropertyValues>
            <Map>
              <MapEntry key='myflag' value='true'/>
            </Map>
          </ResourcePropertyValues>
        </ResourceInfo>
      </ResourceInfoList>
      <Attribute name='closest_manager' type='string' value='77774'/>
      <Attribute name='firstname' type='string' value='Test'/>
      <Attribute name='fullname' type='string' value='Testersson, Test'/>
      <Attribute name='xr_attr_flag' type='string' value='N -------- MA20120201 MB20120201 MC20120201 MD20120201 ME20120201 MF20120201 MG20120201 MH20120201 MI20120201 MJ20120201 MK20120201'/>
      <Attribute name='xr_date_flag' type='string' value='N 20120914 MS20120201 MT20120914'/>
      <Attribute name='lastname' type='string' value='Testersson'/>
      <Attribute name='local_id' type='string' value='S43725'/>
      <Attribute name='position_end_date' type='string' value='2012-08-10 01:08:18.0'/>
      <AdminRoles>
        <ObjectRef type='AdminRole' id='#ID#DC98A0E2B99AE627:1A6684F:10F96310B9F:-7FF7' name='XXX - Manager'/>
      </AdminRoles>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='AD_HomeDir_Xolid_S43725' value='\\XXX5014A\UserFolders$\S43725'/>
        <Property name='AD_ProfileDir_Xolid_S43725' value='\\XXX5014A\UserProfiles$\S43725'/>
        <Property name='idm_lastLoginLocale' value='sv'/>
        <Property name='myflag' value='false'/>
      </Properties>
    </User>

    Thanks Praveen.
    I was missing the default namespace of "http://sapportals.com/xmlns/cm" - I thought I could just pass an empty string for the namespace, but it looks like I must always specifiy, even if it is default.
    Tom

  • How to build sql query for view object at run time

    Hi,
    I have a LOV on my form that is created from a view object.
    View object is read-only and is created from a SQL query.
    SQL query consists of few input parameters and table joins.
    My scenario is such that if input parameters are passed, i have to join extra tables, otherwise, only one table can fetch the results I need.
    Can anyone please suggest, how I can solve this? I want to build the query for view object at run time based on the values passed to input parameters.
    Thanks
    Srikanth Addanki

    As I understand you want to change the query at run time.
    If this is what you want, you can use setQuery Method then use executeQuery.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/oracle/jbo/server/ViewObjectImpl.html#setQuery_java_lang_String_

  • In ST03 , how can i see the Query name, user id,how many times executed the

    HI Experts,
    In ST03 , how can i see the Query name, user id,how many times executed the query.
    these details how do i get from the above transaction.
    EX:-if there is one report name X,I want to know how many users had executed X report today,weekly,monthly.
    ex:-query userid total number of execution
    sales order 0000555 5 times
    custmer 05855 2 times
    fast reply will be appreciated,

    Hi,
    Look here:
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/54df4204892a78e10000000a155106/frameset.htm
    Also check these:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b8be3befaefc75e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/25/ece73a39e74d27e10000000a114084/frameset.htm
    Hope this helps..
    Bye
    Dinesh

  • In ST03 , how can i see the Query name, user id,how many times .

    HI Experts,
    In ST03 , how can i see the Query name, user id,how many times executed the query.
    these details how do i get from the above transaction.
    Points will be awarded.
    BR
    sivs

    Hi Siva,
    Reporting statistics data is only written to the database table if BW statistics have been manually activated for the corresponding InfoProvider first. If this has not been done, it is therefore not possible to display any reporting statistics in transaction ST03.
    Therefore activate the reporting statistics for all relevant InfoProviders. To do this, set the OLAP flag in the BW Administrator Workbench (transaction RSA1) in the area Tools ® BW Statistics for InfoProvider.
                    Check here...........
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/86df4254d81e1fe10000000a155106/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c8c4d794-0501-0010-a693-918a17e663cc
    Hope this will help you shiva.........
    Regrads,
    Vijay

  • How to create Infoset&user group query--(query report)

    Hi Guys,
      how to create Infoset&user group query--(query report),
      Pls send me the exact procedure with Example....
                                                                              Regards:
                                                                              Kumar .G

    goto SQ03 and create an User Group If U want to create Ur Own.
    Goto SQ02 to create Ur Infoset by Giving Logical database name or Simple Database table
    Then Choose What ever data U need to be included in The Qurey in field Groups.
    Then Generate the Infoset
    Now Assign the infoset to user group
    Now goto SQ01 and Click on Other user group Button and choose Ur user Group.
    Then in the USer group select Ur Infoset and then create Ur own Query and save this.
    Now select the infoset query and goto More functions under Query menu and Generate report name.
    Now Create a transaction code for the report name generated.
    Now use the Tcode.
    Hope U have got the basic idea of creating Queries.
    ~BiSu

  • How to query database to retrieve code to create existing objects(nonPLSQL)

    Hi,
    I would like to know how to query the database so I can pull out the SQL required to create objects. I can already get the code for PL/SQL objects such as triggers and procedures by using DBA_SOURCE, however I also need to pull out code for objects like indexes, synonyms, libraries and views that are not stored in DBA_SOURCE. My colleague has suggested creating an index file from a metadata export however I only want code for broken objects and I need it to run automatically across all my databases with a single windows command script. Can anyone help me with this? TOAD manages to get the code for the objects but if it isn't stored in the DB then maybe it's creating it on the fly.
    Thanks
    Adam

    If you run an export with rows=N, you can produce a file with all the scripts.
    Otherwise you might want to look at DBMS_METADATA.
    We would just reference the original scripts in our source control, but hey, we're crazy like that.

Maybe you are looking for

  • Tablespace ORA-02180

    I am trying to create tablespace, but I am keep getting below error. CREATE TABLESPACE GOODS_LOB_TS DATAFILE  '/FREE/rdbm4/oracle/FREE/datafiles/goods_lob_ts_01.dbf' 500M AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL;Error Error starting at line 1 in comman

  • Bank charges to be borne by payer and receiver equally - A/cing entry F110

    Hello Gurus, As per our client requirement bank charges need to be borne equally by the payer and the receiver, we want to know how the accounting entry gets reflected in SAP while doing a "Automatic Payment Program thru F110". Assume that Vendor pay

  • Selector bug?

    Hello. I've written sample socket server on Java using java.nio.* and expirienced problem that seemed to be solved here: [http://bugs.sun.com/view_bug.do?bug_id=6403933]. Behaviour is like described in bug report: after some connections Selector does

  • Anyway to connect Nano to a TV for slideshow

    Hi all, I was wondering if anyone knows of a way that I can connect my iPod Nano to a TV to show off photos? Stu

  • Cant get msn messenger to work!!

    I have downloaded heaps of different visions of messenger, they appear to be fine but when i sign in, it tells me im not conected to the internet when i clearly am! Please help! G4   Mac OS X (10.4.9)