Work.com Employee object is not being recognized by IC2 and not generated in the symbol table.

Issue #2064 resolved
Mike Wannamaker created an issue

Setup a scratch with the following features

"WorkplaceCommandCenterUser",
"ForceComPlatform",

Now you should be able to use the Employee object in apex classes to do queries and create records.

However IC2 doesn’t recognize it as a valid Object. Regenerating the OST doesn’t regenerate it.

Comments (5)

  1. Scott Wells repo owner

    Okay, I figured this out. This documentation pretty much says it all:

    https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_employee.htm

    specifically the following:

    To access this object, you must be assigned a Workplace Command Center permission set license and the Provides access to Workplace Command Center features system permission.

    If I give the IC2 connection user the two items listed above and then generate the OST, the Work.com SObjects are properly included in the OST.

    Let me know if that doesn't resolve this issue for you.

  2. Mike Wannamaker reporter

    Hey Scott,

    I don’t see that feature license?

    Is it the WDC User? My user does have the other permissionsetlicense

  3. Mike Wannamaker reporter

    Thanks Scott, that did it, you da man. I had the first one, just must have missed the second one.

    Mike

  4. Scott Wells repo owner

    Glad that did it! I'm just glad that in the end it makes more sense than it seemed to at first...

  5. Log in to comment