Question

How can we pass parameter for DT in the Create Case shape ?

Hello,

How can we pass paramter for DT in the Create Case shape?

Capture.PNG

Thanks,

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
December 28, 2015 - 4:50pm

Unfortunately there is no way to pass params for two reasons here

  • Smart shapes are a wrapper over existing activities and this Data transform name is a parameter to pxCreateTopCase activity. And like regular utility calls there is no way to pass parameters to a parameter which is rule itself
  • Even if we set params in current param page it won't work since you have selected first option which creates a top case using pxCreateTopCase in which Step 5, we apply this data transform without passing current parameter page

However i believe instead of using parameters you can source those values from a temp top level page and populate that top level page properties with valid values from connectors.

Let me know if the suggested workaround helps.

Comments

Keep up to date on this post and subscribe to comments

December 28, 2015 - 3:03pm

Hello Jrad,

I don't see a manner in which to do this via the shape but since the shape is essentially a wrapper around the activity pxCreateCase which has a parameter SourcePageParamName for the datatransform I would suspect you could achive your goals by having a utility call a activity which sets parameters on the SourcePageParamName and then calls the pxCreateCase activity.

Regards

Pega
December 28, 2015 - 4:50pm

Unfortunately there is no way to pass params for two reasons here

  • Smart shapes are a wrapper over existing activities and this Data transform name is a parameter to pxCreateTopCase activity. And like regular utility calls there is no way to pass parameters to a parameter which is rule itself
  • Even if we set params in current param page it won't work since you have selected first option which creates a top case using pxCreateTopCase in which Step 5, we apply this data transform without passing current parameter page

However i believe instead of using parameters you can source those values from a temp top level page and populate that top level page properties with valid values from connectors.

Let me know if the suggested workaround helps.

February 10, 2016 - 7:33am

I just discovered this as I had the same problem.  I solved it by setting the parameter values on the connector before the smart shape.  This is in 7.1.9