Adding/Deleting Deferred task thru Tabbed User Form

I am trying to find a way to add/deleted deferred tasks thru the Tabbed User Form. Does anyone have any ideas?

I am trying to find a way to add/deleted deferred tasks thru the Tabbed User Form. Does anyone have any ideas?

Similar Messages

  • Adding custom action to Tabbed User Form

    I am trying to view and delete user tasks (such as deferred task) from a user view (tabbed user form). I am able to list the tasks in a separate tab, however, I would like to be able to delete the task using a manual action. I added a button, however, the clicking on the button refreshes the page, and does not get into the Update User workflow.
    Wanted to check with the forum members if anyone has added any custom action via the TabbedUserForm where the button (or something) will submit the form for change of user view to the Update User workflow.
    Or, if someone has a simpler way - manual action to cancel/delete a deferred task for a user.
    Thanks in advance for any insight.
    Indrajit
    Edited by: indrajitg on Sep 14, 2007 12:43 PM

    It seems I was initially too focused on the VCS API itself, as I was under the impression that the context menu would be exposed through a manager (similar to the Editor API). But it turns out that the view API provides very nice access to the relevant bits and I was able to achieve the desired result by simple listening to view activation and access the context menu from there. It's not ideal as I have to deal with view ids directly, but it works - good enough.

  • Tabbed User Form

    Hi All,
    I have added a select field under the identity tab of the 'Tabbed User Form'. Once a value is selected i want that value to be displayed under the 'attributes' tab.
    I added the field (xxx) in 'Default user library' and referenced it in 'User Library' just after the accountId field.
    I also referenced it in 'attributes' section of the tabbed user form.
    The field is shwoing up in all the tas of the tabbed user form. I dont know how to get rid of this and just show a label for 'xxxx' in attributes tab.
    Any help is appreciated
    Thanks,

    Hello sungirl,
    Could you please tell me the exact details as to how can we modify Tabbed User Form??
    I neeed to provide custom fields in Tabbed User Form apart from the existing.
    I understand there is referencing happening in Default User Libraray Form and User Library Form. But as you have mentiond, you were able to implement without modiying these.
    Could you please give me the exact forms and places where this can be done?
    I need to get this working ASAP. Please Help.
    Thanks
    Divya

  • Modifying default tabbed user form

    I want to prevent a particular attribute from showing up in the default tabbed user form. I still want the attribute to exist and I do not want it to be secret, I just don't want to see it show up at all. Any ideas on how to do this? I am using IDM 7.1.
    Thanks!

    Here is a sample code, which I have used in some of my codings
    <Field name='Email'>
       <Display class='Text'/>
          <Property name='title' value='Email'/>
       </Display>
       <Disable>
          <not>
             <neq>
                <ref>accounts[Lighthouse].emp_type</ref>
                <s>Contract</s>
             </neq>
          </not>
       </Disable>
    </Field> If the emp_type is other than Contract, then only the email shows up for that employee.
    You can also try for multiple conditions in the Disable
    null

  • Tabbed User Form Fields

    Hi,
    I modified Tabbed User Form and Assigned it to an ADmin who is under Configurator, with limited capabilities. This admin has to be able to create an organization, so i assigned him Organization Admin capability. However, this assignment also shows up New Directory Junction in the drop down, which i do not need. I tried creating a new capability, but looks like nothing related to org is specified, where i can pick and choose.
    Is there any other way i can make this field "New Directory Junction" disappear only for this adminsitrator.
    Any help is appreciated.
    Thanks,

    Hi,
    What I understand from what you write here is you're trying to develop a "custom LDAP" form rather than a fields iterator. A good starting point to look at will be to check the /sample/ directory located in your idm instance. There are several sample forms namely "Dynamic Tabbed User Form" and "Dynamic Reosurce Form". The latter has a genereic field iterator logic (if the resource is not among the predefined resources it siply iterates schema fields. You can add your own logic in there. Also there are custom forms. There's one "LDAP User Form". All there forms are in XML format you shoud read them in using the lh config. then save in the repository.
    I hope it helps.
    Cheers,
    Kerem ERSOY

  • Tabbed User Form Problem

    I am having a problem with the Tabbed User Form. I have Active Directory resource adapter with firstname and lastname mapped to the IDM attributes. I have a user that exists in AD and IDM and he has been linked through a reconcile. Whenever I open his account in the Admin interface I see in real-time what is on AD. If I change his firstname or lastname on AD it changes in the Admin interface. If i change the mapping from firstname to firstname2 it stops showing the real-time value. How could this be happening and is it supposed to be working this way?? I have another server that does not act like this. It doesn't pull real time data from AD unless it's for the the attributes tab.

    Hi,
    The Form should show the real time data what ever in AD.
    I guess, after u have changed the mapping from firstname to firstname2, u might have forgot to update the 'First Name' field's name.
    The 'First Name' fields name should be like 'accounts[AD].firstname2' instead of 'accounts[AD].firstname'.
    I guess this would solve ur problem.

  • Displaying Session Owner Attributes on Tabbed User Form

    How i can get an attribute from a session's owner inside the form?
    For example, I want to display the email address of the admin who logged in and I want to display this on the Tabbed User Form.
    I know, that :display.session is a session descriptor, but I can't work out how to display anything other than account ID.
    Thanks in advance,
    Darren.

    Have a look at the javadocs for the com.waveset.ui.FormUtil class. There's some methods in there for getting user information from the repository based on the context you've got and the user ID you provide.
    Something like this might work for you:
    <invoke name="getObject" class="com.waveset.ui.FormUtil">
        <select>
          <ref>context</ref>
          <ref>:display.session</ref>
          <invoke name='getLighthouseContext'>
              <ref>WF_CONTEXT</ref>
          </invoke>
        </select>
        <s>User</s>
        <ref>your accountid</ref>
    </invoke>That will get you back the user from the repository as a WSUser object. You should be able to extract the email attribute using the WSUser object's getAttribute method. If you need to construct a full view then there's more work to be done but that should get you the email address. (Assuming of course that you're saving it in the IDM repository.)

  • Change user's OU in Active Directory (AD) from Tabbed User Form

    Hi all,
    In Tabbed User Form, when I create a user or assign AD as a new resource for the user, I can choose the OU where to create the user in AD by modifying +accounts[AD].accountId+ in cn=Lastname Firstname,ou=xxx,ou=yyy,dc=zzz,dc=ttt
    So creation is not an issue.
    But I would like to be able to move the user to another OU in Tabbed User Form.
    Does anybody know how to do it ?
    Thanks in advance,
    Ben

    Hi,
    You can follow the following approach
    1) Save OU as extended attribute in IDM
    2) Modify Update user workflow to check if the ou vale has changed from old to new.
    3) If No, follow normal path.
    4) If yes, follow move user sub process.
    5) Move user sub process needs account ID and New Ou value for moving the user to new ou.
    please send your email address so that i can send you sample workflow.
    Regards,
    Ajay.

  • How to run process tasks in Xellerate User form sequentially

    I have 2 tasks in the process definition of Xellerate User. One triggers on change in department and the other triggers on manager change. I want the manager task to trigger first and then the department task to run after the values have been updated in the former task. It so happens that always department task is getting triggered first.
    I cannot have task dependency in Xellerate User form. I tried setting the response code in the manager task and have it generate department task. In this case the department task is triggered twice. First time it runs before the manager task. The second time since it is a task to run in the response code of manager task.
    How to make each task run once and have it done sequentially?

    Yes that was my first instinct but I need the old and new values of department and manager. That is possible when I make it a process task.
    Heres what I want to do-
    If there is a change in department of a user, send mail to manager with old and new department values.
    If there is a change in manager when department changes, send mail to old and new manager with old and new department values.

  • How to find out if a user has a deferred task

    In my WF, I will add a deferred task to a user. If that user already has a deferred task then i want to skip it. How do we find out if a user already has a deferred task? Thanks

    This should help you
    <notnull>
    <ref>view.accounts[Lighthouse].properties.tasks[taskname]</ref>
    </notnull>

  • How to Get a list of pending deferred tasks

    Hi all
    there is a bunch of unfinished threads here asking how to get a list/report of deferred tasks that are associated with user objects and scheduled for future execution.
    I need this list and I can't find out how to get it anyway.
    I don't care if it's a SJSIM report, a database query or a SJSIM log mining exercise.
    Does anyone know how to do this?
    My org has just gone live with SJSIM and I want to report on the number of legacy resource accounts that have had deferred tasks created against them for future disabling/deletion (our consultants added this workflow based on rules with an email warning, a disabling deferred task set for 2 weeks from now and a deleting deferred task for 6 months after that). Hopefully I can say "look, 5,000 legacy accounts are going to be cleaned up!
    Thanks in advance

    You can do it with a custom workflow, something like this:
         <Activity>
            <Action id='0' class='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='queryObjectNames'/>
              <Argument name='type' value='User'/>
              <Argument name='attributes'>
                 <list>
                        <new class='com.waveset.object.AttributeCondition'>
                           <s>deferredTaskDate</s>
                           <s>isPresent</s>
                        </new>
                  </list>
               </Argument>
            <Action id='1' process='Check User'>
              <Iterate for='currentUser' in='queryResult'/>
              <Argument name='accountId' value='$(currentUser)'/>
            </Action>
         </Activity>And:
           <WFProcess name='Check User'>
             <Variable name='accountId' input='true'/>
             <Activity id='0' name='start'>
               <Transition to='Check User'/>
             </Activity>
             <Activity id='1' name='Check User' hidden='true'>
               <Action id='1' name='Get User View' application='com.waveset.session.WorkflowServices'>
                 <Argument name='op' value='getView'/>
                 <Argument name='type' value='User'/>
                 <Argument name='id' value='$(accountId)'/>
                 <Argument name='authorized' value='true'/>
               </Action>
               <Transition to='Got One'>
                   <notnull>
                           <ref>view.accounts[Lighthouse].properties.tasks[Legacy Cleanup].date<ref>
                    </notnull>
                 </Transition>
                 <Transition to='end'/>
              </Activity>
              <Activity id='2 name='Got One'>
                 <ActionResult name='users' type='message' overwrite='false'>
                    <ref>accountId</ref>
                  </ActionResult>
              </Action>
              <Transition to='end'/>
            </Activity>
         </WFProcess>This just gives a rough idea of how it can be done. It might be best to bring your consultants back in to implement this.
    Edited by: PaulHilchey on Feb 25, 2009 10:35 AM

  • Manually execute a povisioning task for a user in OIM 11g

    Experts,
    In OIM 11g, I would like to execute a resource provisioning task for a user thru OIM admin console.
    In OIM 10g, when we select a resource profile for a user, it used to show the list tasks that are executed. There we can add a new task to run manually there.
    How to do the same in OIM 11g. in OIM 11g, it is not even showing the lists of tasks executed during provisioning.
    Please let me know.

    If you are talking about manually adding the provisioning tasks to a user for a particular resource, then you can go to the resource profile of the user, select the particular resource -> click the 'Resource History' button on the right corner and from there you can manually add the tasks.
    -Bikash

  • Dates appear different in log file vs. debug page for Deferred Task

    I added a deferred task and in the log file, the date appeared correctly as
    Mon Dec 15 16:34:11 PST 2008
    But when I viewed the user in the debug page, the date appeared as
    <Date>2008-12-16T00:34:11.430Z</Date>
    I called an external java class that return a Date object
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='addDeferredTask'/>
    <Argument name='date'>
    <invoke name='addWeekDays' class='MyDateUtil'/>
    </Argument>
    </Action>
    Do you have any ideas?

    IDM commonly stores dates in a Java or JDBC date format (which is what your debug date is) but often formats the date differently for log files and for web pages. It's annoying if you're trying to line two different outputs up.

  • Getting date range in Find User Form

    Hello experts,Actually my goal is to get list of users having termination date within date range.But here my problem is when i added this business logic in Find user form which does loop on all users i was unable to get the list of users having termination within date range as the termination date of user object is string.
    By gettting problem in the above way we tried to query date attribute of the task property of user object which is set with the value of termintion date when the user is created.The task property code is given below
    <Properties>
    <Property name='tasks'>
    <List>
    <Object name='Conseco Account Termination Date'>
    <Attribute name='date' value='01/10/2008'/>
    <Attribute name='task' value='Conseco Account Termination Date'/>
    </Object>
    <Object name='Sunset Date'>
    <Attribute name='date' value='2/22/2008'/>
    <Attribute name='task' value='Sunset Date'/>
    </Object>
    </List>
    </Property>
    </Properties>
    Could anyone help me in referring the date attribute of 'Conseco Account Termination Date' property

    Because the date is stored as a string, you'll need to use a different format. Use yyyy/MM/dd. You can use the stringToDate and dateToString methods.

  • Deferred Task Scanner Running - but not...

    All -
    Please advise - have deferred tasks sitting on users in IdM 7.1.1. I can manually "Run" the deferred task scanner, and the tasks are found and then subsequently run. When I schedule this scanner, via Manage Schedule, the scanner runs and increments (times run); but on these next runs, I do not see results on my users for subsequent deferred tasks. Basically it seems as though they are not being picked up passed the first run. Any thoughts on what needs to change so tasks are picked up automatically via the scheduled scanner on subsequent runs? For ref an example def task is provided below; as well as the settings for my schedule. The environment is not clustered...
    Example Task:
    <Properties>
    <Property name='tasks'>
    <List>
    <Object name='Client Update IDM Account'>
    <Attribute name='accountId' value='jDoe'/>
    <Attribute name='date'>
    <Date>2008-07-21T05:00:00.000Z</Date>
    </Attribute>
    <Attribute name='employeeno' value='001223456'/>
    <Attribute name='firstname' value='John'/>
    <Attribute name='futureEvent' value='true'/>
    <Attribute name='instanceName' value='Client Deferred Task: jDoe:001223456'/>
    <Attribute name='lastname' value='DOE'/>
    <Attribute name='task' value='Client Update IDM Account'/>
    <Attribute name='taskName' value='Client Deferred Task: jDoe:001223456'/>
    <Attribute name='taskname' value='Client Update IDM Account'/>
    </Object>
    </List>
    </Property>
    Schedule Settings:
    Repeat Every: 2 hours
    Result Options: Wait
    Allow Mult Occur: Not checked
    Servers: None Selected <-- Assuming don't need this as is not clustered
    Object Type: user
    Thanks in advance for any assistance.
    Edited by: Konabean1 on Jul 21, 2008 9:07 AM
    Edited by: Konabean1 on Jul 21, 2008 9:18 AM
    Edited by: Konabean1 on Jul 22, 2008 11:48 AM
    Identified solution - set the result options to rename or delete.
    Closed....

    Hi Konabean,
    was the deferred task executed wrt the specified Date (mainly Time)? If yes, can you please post the deferred task code?
    Thanks in Advance.

Maybe you are looking for