I'm trying to write a plugin which could call Appian API which take CDT as p

I'm trying to write a plugin which could call Appian API which take CDT as parameter by using processDesignService.initiateProcess, referencing a library typetransformer-1.2.jar

I had the following exception(Log attached):
RROR com.appiancorp.suiteapi.common.TypedValueParameterConverter - unable to access property <value> in <class com.appiancorp.suiteapi.process.ProcessVariable>

Main logic Code :

//Appian CDT Type
                                        if (processInstanceType.intValue() >= 500) {
                                                  String cdtType = ts.getType(
                                                                      processVariable.getInstanceType()).getName();
                                                  String cdtNameSpace = ts.getType(
                                                                      processVariable.getInstanceType()).getNamespace();
                                                  
                                                  System.out.println("cdtNameSpace: "
                                                                      + cdtNameSpace);
                                                  System.out.println("cdtType: "
                                                                      + cdtType);

                                                  Datatype type = ts.getTypeByQualifiedName(new QName(
                                                                       cdtNameSpace,cdtType));
                                                  
                                                  AppianObject account = (AppianObject) tf.createElement(type
                                                                      .getId());
                                        ...

plugin.log

OriginalPostID-171467

OriginalPostID-171467

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data