Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Last activity: 16 Oct 2018 12:03 EDT
Do we have any restriction on activity actions or methods for Activity type Utility
Do we have any restriction on activity actions or methods for Activity type "Utility"?
or
Do we have any difference in actions or methods for Activity type "Utility" and "Activity"?
**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.
-
Like (0)
Anand Santhi Kiran Rayudu -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689980000/6b73fef3-95fe-4476-92a0-e634d6a0fe28.jpg?itok=eO_uceTm)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689980000/6b73fef3-95fe-4476-92a0-e634d6a0fe28.jpg?itok=eO_uceTm)
BUPA
AU
Hi Rajesh,
Activity type decide the work for which activity is designed where it can referenced, for example if type of activity is Utility then it will be used to Update work item and can also be used in Utility shape. Type Activity is default choice for any activity. You can refer below page for more information about this - https://community.pega.com/sites/default/files/help_v718/procomhelpmain.htm
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Thanks
Do we have any difference in actions or methods for Activity type "Utility" and "Activity"?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689980000/6b73fef3-95fe-4476-92a0-e634d6a0fe28.jpg?itok=eO_uceTm)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689980000/6b73fef3-95fe-4476-92a0-e634d6a0fe28.jpg?itok=eO_uceTm)
BUPA
AU
Hi Rajasekhar,
I have not faced anything as such. Only Utility shape will only list available utilities instead of activities in an flow rule.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Do we have any difference in actions or methods for Activity type "Utility" and "Activity"?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Coforge
AU
Cannot use Show-Page and Show-Property method when usage is Utility..Utility activity cannot display html..
-
Naga Sai Jonnalagadda
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Thanks Praveen.
Cannot use Show-Page and Show-Property.
Can we get complete list, which cannot be used in Utility activity.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
other then Show-Page and Show-Property method, do we have any other restriction?
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
other then Show-Page and Show-Property method, do we have any other restriction?
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
other then Show-Page and Show-Property method, do we have any other restriction?
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
other then Show-Page and Show-Property method, do we have any other restriction?
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
Updated: 29 Nov 2017 7:34 EST
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
other then Show-Page and Show-Property method, do we have any other restriction?
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
other then Show-Page and Show-Property method, do we have any other restriction?
Can we get complete list, which cannot be used in Utility activity
Thanks in Advance
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
US
One difference is that when you are configuring the utility shape on your flow, only activities marked as utility ones will show up in the drop-down.
However, regarding your questions about restrictions, the activity marked as a utility one doesn't impose any direct restrictions. However, whatever restrictions there are regarding what you should and shouldn't do when in the utility shape context of a flow, those restrictions would apply to whatever activities you call from a utility shape.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Thanks.
Could you please share the details of restrictions that are regarding what you should and shouldn't do when in the utility shape context of a flow.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Do we have any restriction on activity actions or methods for Activity type "Utility"?
or
Do we have any difference in actions or methods for Activity type "Utility" and "Activity"?
Query: If I set Activity type as "Utility" and use it as pre or Post action of Flow action, Do we have any impact.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Do we have any restriction on activity actions or methods for Activity type "Utility"?
or
Do we have any difference in actions or methods for Activity type "Utility" and "Activity"?
Query: If I set Activity type as "Utility" and use it as pre or Post action of Flow action, Do we have any impact.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
US
One way to cross-check is this:
1) Make an activity A of type "activity" that calls an activity B of type "utility".
2) Run it once to make sure A and B are assembled, and then either use pyExtractCode or go directly to your server, so you get the java for both activities A and B.
3) Do it a second time but this time set activity B to be of type "activity". Compare the javas for differences.
I believe the "utility" type mostly controls which activities appear in the design-time drop-down when you are setting up your utility flow shape, but doing that java comparison will show if any assembly details are different.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Thanks for response.......
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
conED
CA
Please refer below link:
https://community.pega.com/sites/default/files/help_v73/procomhelpmain.htm
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Thanks...
While code review, I found that X user set activity called from flow action, type to Utility. Code is working, but do we have any scenario of failure...........