#GeneratedValue How to get auto generated value in process model. In CDT, t

#GeneratedValue
How to get auto generated value in process model. In CDT, there is an auto generated ID, but in the instance it not showing the auto generated ID. How can I see this ID in my process model. Thanks.

OriginalPostID-155011

OriginalPostID-155011

  Discussion posts and replies are publicly visible

Parents
  • xs:sequence>
                                  <xs:element name="ORDR_SBMT_ID" type="xs:integer" nillable="false">
                                            <xs:annotation>
                                                      <xs:appinfo source="appian.jpa">
                                                      @Id
                                                      @Column(name="ORDR_SBMT_ID" columnDefinition="NUMBER NOT NULL")
                                                      @SequenceGenerator(name="orggenerator", sequenceName="ORDR_SBMT_ID_SEQ", initialValue=1)
                                                      @GeneratedValue(strategy=GenerationType.SEQUENCE,generator="orggenerator")
                                                      </xs:appinfo>
                                            </xs:annotation>
                                  </xs:element>

    ID is generating, but how to get the auto generated ID? If I get the generated ID in process model, then I can pass the updated values to that ID.
Reply
  • xs:sequence>
                                  <xs:element name="ORDR_SBMT_ID" type="xs:integer" nillable="false">
                                            <xs:annotation>
                                                      <xs:appinfo source="appian.jpa">
                                                      @Id
                                                      @Column(name="ORDR_SBMT_ID" columnDefinition="NUMBER NOT NULL")
                                                      @SequenceGenerator(name="orggenerator", sequenceName="ORDR_SBMT_ID_SEQ", initialValue=1)
                                                      @GeneratedValue(strategy=GenerationType.SEQUENCE,generator="orggenerator")
                                                      </xs:appinfo>
                                            </xs:annotation>
                                  </xs:element>

    ID is generating, but how to get the auto generated ID? If I get the generated ID in process model, then I can pass the updated values to that ID.
Children
No Data