# Facing the error while trying to run the refresh identity cube for a user while implementing the joiner workflow

**URL:** <https://developer.sailpoint.com/discuss/t/facing-the-error-while-trying-to-run-the-refresh-identity-cube-for-a-user-while-implementing-the-joiner-workflow/164125>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq\
**Created:** [August 5, 2025, 4:18am UTC](https://developer.sailpoint.com/discuss/t/facing-the-error-while-trying-to-run-the-refresh-identity-cube-for-a-user-while-implementing-the-joiner-workflow/164125 "2025-08-05T04:18:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![teja2505](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@teja2505](https://developer.sailpoint.com/discuss/u/teja2505)\
**Post date:** [August 5, 2025, 4:18am UTC](https://developer.sailpoint.com/discuss/t/facing-the-error-while-trying-to-run-the-refresh-identity-cube-for-a-user-while-implementing-the-joiner-workflow/164125/1 "2025-08-05T04:18:40Z")

</div>

![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/9/e920286ff5c31f6495a9d377ee524181e82952be.png)

I am implementing the joiner workflow after loading the date when trying to run the refresh identity for the user encountering the error. Please find the below workflow used in the implementation .

" import sailpoint.object.Application;  
import sailpoint.object.Identity;  
import java.util.ArrayList;  
import sailpoint.object.Identity;  
import sailpoint.object.ProvisioningPlan;  
import sailpoint.object.ProvisioningPlan.AccountRequest;  
import sailpoint.object.ProvisioningPlan.AttributeRequest;  
import sailpoint.object.ProvisioningPlan.Operation;

```
    import sailpoint.api.Provisioner;

    import sailpoint.tools.GeneralException;

    String appName="Active Directory - US";

    Identity identityobj = context.getObject(Identity.class,identityName);

   
    ArrayList accRequestList= new ArrayList();
    ProvisioningPlan plan=new ProvisioningPlan();

    plan.setIdentity(identityobj);

    AccountRequest adAccountRequest =new AccountRequest();

    Application application=context.getObject(Application.class, appName);
    adAccountRequest.setApplication(application.getName());
    adAccountRequest.setOperation(ProvisioningPlan.AccountRequest.Operation.Create);

    AttributeRequest gnAttRequest =new AttributeRequest("givenName", ProvisioningPlan.Operation.Add, employee.getFirstname());
    AttributeRequest snAttRequest=new AttributeRequest("sn", ProvisioningPlan.Operation.Add,employee.getLastname());
    AttributeRequest mailAttRequest=new AttributeRequest("mail", ProvisioningPlan.Operation.Add, employee.getEmail());
    AttributeRequest deptAttRequest=new AttributeRequest("department", ProvisioningPlan.Operation.Add, employee.getStringAttribute("department"));
    AttributeRequest memberofAttRequest=new AttributeRequest("memberof", "CN=AD-IND,CN=Users,DC=IDMITGURU,DC=COM");

    adAccountRequest.add(gnAttRequest);
    adAccountRequest.add(snAttRequest);
    adAccountRequest.add(mailAttRequest);
    adAccountRequest.add(deptAttRequest);
    adAccountRequest.add(memberofAttRequest);
    accRequestList.add(adAccountRequest);
    plan.setAccountRequests(accRequestList);

       System.out.println("Plan------->"+plan.toXml());

  /* 
    Provisioner provisioner= new Provisioner(context);  
    provisioner.compile(plan);
    provisioner.execute();

 */
    return plan;"

```

---

<div class="post-metadata">

**Author:** ![teja2505](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@teja2505](https://developer.sailpoint.com/discuss/u/teja2505)\
**Post date:** [August 5, 2025, 4:19am UTC](https://developer.sailpoint.com/discuss/t/facing-the-error-while-trying-to-run-the-refresh-identity-cube-for-a-user-while-implementing-the-joiner-workflow/164125/2 "2025-08-05T04:19:47Z")

</div>

![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/6/16003b598fdfefd79c6c7bfdbf8600b928fe10f7.png)  
Error screenshot

---

<div class="post-metadata">

**Author:** ![harsh\_gupta4](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/harsh_gupta4/32/28816_2.png) [@harsh\_gupta4](https://developer.sailpoint.com/discuss/u/harsh_gupta4)\
**Post date:** [August 5, 2025, 4:31am UTC](https://developer.sailpoint.com/discuss/t/facing-the-error-while-trying-to-run-the-refresh-identity-cube-for-a-user-while-implementing-the-joiner-workflow/164125/3 "2025-08-05T04:31:11Z")

</div>

Hi @teja2505 ,

it seems you put filter in identity refresh task to run for this particular user.  
use name==“identityName” , instead of using single equal “=” operator.  
It should solve the issue .

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [October 4, 2025, 4:59am UTC](https://developer.sailpoint.com/discuss/t/facing-the-error-while-trying-to-run-the-refresh-identity-cube-for-a-user-while-implementing-the-joiner-workflow/164125/5 "2025-10-04T04:59:35Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
