Skip to main content
4-Participant
March 9, 2016
Solved

How to newEPMDocument put in createdate ??

  • March 9, 2016
  • 3 replies
  • 2684 views

Hi everyone,

I have a little problem and I really hope someone can help me with that.

I created an EPMDocument by using an expression robot. Now I would like to another date this EPMDocument into the "createDate" via a Java code.

Summury,

How to newEPMDocument set CreateDate ??

CreateDate in not today. i want another day.

Can anyone please help me or point me in the right direction?

I'd really appreciate it.

Thanks,

Best answer by RandyJones

JoonWoo Jeon wrote:

Hi everyone,

I have a little problem and I really hope someone can help me with that.

I created an EPMDocument by using an expression robot. Now I would like to another date this EPMDocument into the "createDate" via a Java code.

Summury,

How to newEPMDocument set CreateDate ??

CreateDate in not today. i want another day.

Can anyone please help me or point me in the right direction?

As far as I know you can't change timestamps and "who did it" fields with the java api. You have to do that with sql. See the following discussion:

Re: Need info on Windchill IBA attributes.

3 replies

20-Turquoise
March 9, 2016

JoonWoo Jeon wrote:

Hi everyone,

I have a little problem and I really hope someone can help me with that.

I created an EPMDocument by using an expression robot. Now I would like to another date this EPMDocument into the "createDate" via a Java code.

Summury,

How to newEPMDocument set CreateDate ??

CreateDate in not today. i want another day.

Can anyone please help me or point me in the right direction?

As far as I know you can't change timestamps and "who did it" fields with the java api. You have to do that with sql. See the following discussion:

Re: Need info on Windchill IBA attributes.

jjeon4-ParticipantAuthor
4-Participant
March 10, 2016

Thanks.

1-Visitor
June 17, 2016

Hi JoonWoo Jeon,

I am interested to know what the use case is to create EPMDocument through workflows?

Thanks,